Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -212,7 +212,6 @@ with demo:
|
|
| 212 |
|
| 213 |
gr.Examples(
|
| 214 |
examples=examples,
|
| 215 |
-
fn=process,
|
| 216 |
inputs=[
|
| 217 |
language_radio,
|
| 218 |
model_dropdown,
|
|
@@ -220,12 +219,12 @@ with demo:
|
|
| 220 |
input_sid,
|
| 221 |
input_speed,
|
| 222 |
],
|
| 223 |
-
outputs=
|
| 224 |
-
|
| 225 |
-
output_info,
|
| 226 |
-
],
|
| 227 |
)
|
| 228 |
|
|
|
|
|
|
|
| 229 |
input_button.click(
|
| 230 |
process,
|
| 231 |
inputs=[
|
|
|
|
| 212 |
|
| 213 |
gr.Examples(
|
| 214 |
examples=examples,
|
|
|
|
| 215 |
inputs=[
|
| 216 |
language_radio,
|
| 217 |
model_dropdown,
|
|
|
|
| 219 |
input_sid,
|
| 220 |
input_speed,
|
| 221 |
],
|
| 222 |
+
outputs=None, # Do not auto-run on selection
|
| 223 |
+
label="Click on an example to load it into the input fields. Then press Submit."
|
|
|
|
|
|
|
| 224 |
)
|
| 225 |
|
| 226 |
+
|
| 227 |
+
|
| 228 |
input_button.click(
|
| 229 |
process,
|
| 230 |
inputs=[
|