-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add css_paths
, js_paths
, head_paths
#9524
base: 5.0-dev
Are you sure you want to change the base?
Conversation
🪼 branch checks and previews
Install Gradio from this PR pip install https://gradio-pypi-previews.s3.amazonaws.com/1d32cf94cdc424801db3cf940db18e52810357ad/gradio-4.44.1-py3-none-any.whl Install Gradio Python Client from this PR pip install "gradio-client @ git+https://github.com/gradio-app/gradio@1d32cf94cdc424801db3cf940db18e52810357ad#subdirectory=client/python" Install Gradio JS Client from this PR npm install https://gradio-npm-previews.s3.amazonaws.com/1d32cf94cdc424801db3cf940db18e52810357ad/gradio-client-1.6.0-beta.3.tgz Use Lite from this PR <script type="module" src="https://gradio-lite-previews.s3.amazonaws.com/1d32cf94cdc424801db3cf940db18e52810357ad/dist/lite.js""></script> |
🦄 change detectedThis Pull Request includes changes to the following packages.
With the following changelog entry.
Maintainers or the PR author can modify the PR title to modify this entry.
|
@@ -1544,3 +1544,11 @@ def get_node_path(): | |||
"If you wish to use the node backend, please install node 18 and/ or set the path with the GRADIO_NODE_PATH environment variable." | |||
) | |||
return None | |||
|
|||
|
|||
def none_or_singleton_to_list(value: Any) -> list: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use this pattern quite a bit in the library so added a helper function
Based on @hysts's feedback internally, modifying the approach we are taking to providing paths for static resources
Open to feedback