Skip to content

Commit

Permalink
Update gradio/components.py
Browse files Browse the repository at this point in the history
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
  • Loading branch information
dawoodkhan82 and abidlabs authored Feb 10, 2023
1 parent e700e28 commit 994d937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradio/components.py
Original file line number Diff line number Diff line change
Expand Up @@ -3872,7 +3872,7 @@ def __init__(
"""
Parameters:
value: Default value to show in chatbot. If callable, the function will be called whenever the app loads to set the initial value of the component.
starts_with: Determines whether the chatbot starts with a user message or a bot message. Must be either "user" or "bot". Default is "user".
starts_with: Determines whether the chatbot starts with a user message (appearing on the right) or a bot message (appearing on the left). Must be either "user" or "bot". Default is "user".
label: component name in interface.
every: If `value` is a callable, run the function 'every' number of seconds while the client connection is open. Has no effect otherwise. Queue must be enabled. The event can be accessed (e.g. to cancel it) via this component's .load_event attribute.
show_label: if True, will display label.
Expand Down

0 comments on commit 994d937

Please sign in to comment.