You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on the screenshot, when using additional_inputs in ChatInterface and providing example prompts, you must manually include default values for these additional inputs in the examples; otherwise, they will be set to None. However, I dislike the examples being displayed beneath the chatbot and the visibility of the additional input values. After reviewing the documentation, I believe example_labels could replace the example display, showing only the example text within the chatbot. Unfortunately, the variable appears to have no effect.
Not required to set the values for additional_inputs in examples, but still use the inputs' default values.
Setting the values for additional_inputs in examples is also fine, but don't show their values on the webpage; instead, only show the text part to the user as an example prompt inside the chatbot.
In the end, I want the examples to use the same default values for additional_inputs, and at the same time want the examples to be shown like this:
Describe the bug
Based on the screenshot, when using
additional_inputs
in ChatInterface and providing example prompts, you must manually include default values for these additional inputs in the examples; otherwise, they will be set toNone
. However, I dislike the examples being displayed beneath the chatbot and the visibility of the additional input values. After reviewing the documentation, I believeexample_labels
could replace the example display, showing only the example text within the chatbot. Unfortunately, the variable appears to have no effect.Have you searched existing issues? 🔎
Reproduction
Screenshot
Logs
No response
System Info
Severity
Blocking usage of gradio
The text was updated successfully, but these errors were encountered: