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
[V] I have searched to see if a similar issue already exists.
Is your feature request related to a problem? Please describe.
Retry, Undo and Clear buttons are now parts of the Chatbot component of ChatInterface, and there does not seem to be a way to customize the text which is shown when you move your mouse to the button (it says "Retry", "Undo" and "Clear" for the respective buttons). For fully multilingual interfaces, it is useful to be able to change this text.
Describe the solution you'd like
Add parameters "submit_btn", "undo_btn" and "clear_btn" to ChatInterface where you would be able to indicate the popup text you want to see on moving the mouse to the element .
Additional context
Might also be useful to be able set those parameters above to None (like "submit_btn" and "stop_btn" parameters), which is useful if a user doesn't need some of this buttons but doesn't want to construct the chat interface completely from scratch.
The text was updated successfully, but these errors were encountered:
abidlabs
changed the title
Gradio 5 ChatInterface: custom popup text for retry, undo, and clear buttons?
Gradio 5 ChatInterface: internationalize popup text for retry, undo, and clear buttons
Nov 23, 2024
Is your feature request related to a problem? Please describe.
Retry, Undo and Clear buttons are now parts of the Chatbot component of ChatInterface, and there does not seem to be a way to customize the text which is shown when you move your mouse to the button (it says "Retry", "Undo" and "Clear" for the respective buttons). For fully multilingual interfaces, it is useful to be able to change this text.
Describe the solution you'd like
Add parameters "submit_btn", "undo_btn" and "clear_btn" to ChatInterface where you would be able to indicate the popup text you want to see on moving the mouse to the element .
Additional context
Might also be useful to be able set those parameters above to None (like "submit_btn" and "stop_btn" parameters), which is useful if a user doesn't need some of this buttons but doesn't want to construct the chat interface completely from scratch.
The text was updated successfully, but these errors were encountered: