Open jamie0725 opened 2 days ago
What I want is one of these behaviors:
additional_inputs
in examples, but still use the inputs' default values.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