Skip to content

Commit

Permalink
Button default name (#1243)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
omerXfaruq and abidlabs authored May 13, 2022
1 parent b8c4d3d commit 5df69c1
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 @@ -3538,7 +3538,7 @@ class Button(Clickable, Component):

def __init__(
self,
value: str = "",
value: str = "Run",
*,
variant: str = "primary",
visible: bool = True,
Expand Down

0 comments on commit 5df69c1

Please sign in to comment.