Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -68,9 +68,9 @@ with gr.Blocks(theme='freddyaboulton/dracula_revamped') as demo:
|
|
| 68 |
"https://gradio.app/assets/img/header-image.jpg", label="Image", height=320
|
| 69 |
)
|
| 70 |
with gr.Row():
|
| 71 |
-
go_btn = gr.Button("Go",
|
| 72 |
clear_btn = gr.Button(
|
| 73 |
-
"Clear",
|
| 74 |
)
|
| 75 |
|
| 76 |
def go(*args):
|
|
@@ -88,7 +88,7 @@ with gr.Blocks(theme='freddyaboulton/dracula_revamped') as demo:
|
|
| 88 |
with gr.Row():
|
| 89 |
btn1 = gr.Button("Button 1")
|
| 90 |
btn2 = gr.UploadButton()
|
| 91 |
-
stop_btn = gr.Button("Stop",
|
| 92 |
|
| 93 |
with gr.Row():
|
| 94 |
gr.Dataframe(value=[[1, 2, 3], [4, 5, 6], [7, 8, 9]], label="Dataframe")
|
|
|
|
| 68 |
"https://gradio.app/assets/img/header-image.jpg", label="Image", height=320
|
| 69 |
)
|
| 70 |
with gr.Row():
|
| 71 |
+
go_btn = gr.Button("Go", variant="primary")
|
| 72 |
clear_btn = gr.Button(
|
| 73 |
+
"Clear", variant="secondary"
|
| 74 |
)
|
| 75 |
|
| 76 |
def go(*args):
|
|
|
|
| 88 |
with gr.Row():
|
| 89 |
btn1 = gr.Button("Button 1")
|
| 90 |
btn2 = gr.UploadButton()
|
| 91 |
+
stop_btn = gr.Button("Stop", variant="stop")
|
| 92 |
|
| 93 |
with gr.Row():
|
| 94 |
gr.Dataframe(value=[[1, 2, 3], [4, 5, 6], [7, 8, 9]], label="Dataframe")
|