Spaces:
Runtime error
Runtime error
Pclanglais
commited on
Commit
·
cefebbf
1
Parent(s):
9ea7f17
Update app.py
Browse files
app.py
CHANGED
@@ -68,8 +68,8 @@ with gr.Blocks(theme='Pclanglais/Amyot') as demo:
|
|
68 |
height=320,
|
69 |
)
|
70 |
with gr.Row():
|
71 |
-
go_btn = gr.Button("Go", variant="primary")
|
72 |
-
clear_btn = gr.Button("Clear", variant="secondary")
|
73 |
|
74 |
def go(*args):
|
75 |
time.sleep(3)
|
@@ -86,7 +86,7 @@ with gr.Blocks(theme='Pclanglais/Amyot') as demo:
|
|
86 |
with gr.Row():
|
87 |
btn1 = gr.Button("Button 1", size="sm")
|
88 |
btn2 = gr.UploadButton(size="sm")
|
89 |
-
stop_btn = gr.Button("Stop", size="sm", variant="stop")
|
90 |
|
91 |
with gr.Row():
|
92 |
gr.Dataframe(value=[[1, 2, 3], [4, 5, 6], [7, 8, 9]], label="Dataframe")
|
|
|
68 |
height=320,
|
69 |
)
|
70 |
with gr.Row():
|
71 |
+
go_btn = gr.Button("Go", variant="primary", label="Générer")
|
72 |
+
clear_btn = gr.Button("Clear", variant="secondary", label="Effacer")
|
73 |
|
74 |
def go(*args):
|
75 |
time.sleep(3)
|
|
|
86 |
with gr.Row():
|
87 |
btn1 = gr.Button("Button 1", size="sm")
|
88 |
btn2 = gr.UploadButton(size="sm")
|
89 |
+
stop_btn = gr.Button("Stop", size="sm", variant="stop", label="Arrêter")
|
90 |
|
91 |
with gr.Row():
|
92 |
gr.Dataframe(value=[[1, 2, 3], [4, 5, 6], [7, 8, 9]], label="Dataframe")
|