mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-18 10:44:33 +08:00
Fix Misleading Description for Duplicate Button (#4832)
* reword docstring for duplicatebutton * formatting
This commit is contained in:
parent
b4173886ba
commit
9363328297
@ -15,7 +15,7 @@ set_documentation_group("component")
|
||||
@document()
|
||||
class DuplicateButton(Button):
|
||||
"""
|
||||
Button that appears only on Hugging Face Spaces, triggering a Spaces Duplication.
|
||||
Button that triggers a Spaces Duplication, when the demo is on Hugging Face Spaces. Does nothing locally.
|
||||
Preprocessing: passes the button value as a {str} into the function
|
||||
Postprocessing: expects a {str} to be returned from a function, which is set as the label of the button
|
||||
"""
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
{ "version": "3.35.2" }
|
||||
{"version": "3.36.0"}
|
Loading…
Reference in New Issue
Block a user