-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Adding more docs for using components in chatbot #8593
Conversation
🪼 branch checks and previews
Install Gradio from this PR pip install https://gradio-builds.s3.amazonaws.com/5b0422f8e3e6d2cba1d0aa64081326e7e0c32bd5/gradio-4.36.1-py3-none-any.whl Install Gradio Python Client from this PR pip install "gradio-client @ git+https://github.com/gradio-app/gradio@5b0422f8e3e6d2cba1d0aa64081326e7e0c32bd5#subdirectory=client/python" Install Gradio JS Client from this PR npm install https://gradio-builds.s3.amazonaws.com/5b0422f8e3e6d2cba1d0aa64081326e7e0c32bd5/gradio-client-1.1.1.tgz |
🦄 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.
|
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.
Looks good! thanks @abidlabs
gradio/components/chatbot.py
Outdated
@@ -62,7 +62,7 @@ class Chatbot(Component): | |||
Also supports audio/video/image files, which are displayed in the Chatbot, and other kinds of files which are displayed as links. This | |||
component is usually used as an output component. | |||
|
|||
Demos: chatbot_simple, chatbot_multimodal | |||
Demos: chatbot_simple, chatbot_multimodal, chatbot_core_components |
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 don't currently support demos with any requirements on the docs, I can add support for it soon. But remove this for now as its erroring out on lite.
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.
sorry meant to approve
Ah good catch. I'll make a simplified version of this demo without dependencies. Just to be clear, the problem is plotly, or is it the files? |
… into chatbot-component-docs
Oh the files might be an issue as well, there are workarounds. But there's also another problem that we only used the release version of lite on the website, so this wouldn't work anyways until after release. I would just remove the demo for now and I can add it after. Or actually you could just embed it from spaces directly into the svx? Like just add the demo under the the new examples section. |
The new demo I'm using ( |
@abidlabs yeah it will work. but only on release when lite gets updated. I think this is good for now I'll open a PR to start using main wheel of lite on /main |
No description provided.