Fix Misleading Description for Duplicate Button (#4832)

* reword docstring for duplicatebutton

* formatting
This commit is contained in:
Ali Abdalla 2023-07-07 20:09:54 +03:00 committed by GitHub
parent b4173886ba
commit 9363328297
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 18652 deletions

View File

@ -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

View File

@ -1 +1 @@
{ "version": "3.35.2" }
{"version": "3.36.0"}