Button default name (#1243)

* update-shortcut-syntax

- fix&update gr.component
- create a demo introducing shortcuts within Blocks

* update-shortcut-syntax

- tweaks

* update-shortcut-syntax

- tweaks

* update-shortcut-syntax

- fix formatting

* update-shortcut-syntax

- tweaks
- fix tests

* update-shortcut-syntax

- tweaks
- fix tests

* update-shortcut-syntax

- tweaks
- fix tests

* button-default-name

- add a default name in Button

* button-default-name

- add a default name in Button

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
This commit is contained in:
Ömer Faruk Özdemir 2022-05-13 20:18:24 +03:00 committed by GitHub
parent b8c4d3d6b8
commit 5df69c15bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3538,7 +3538,7 @@ class Button(Clickable, Component):
def __init__(
self,
value: str = "",
value: str = "Run",
*,
variant: str = "primary",
visible: bool = True,