Spaces:
Running
Running
Fix text box default value.
Browse files
app.py
CHANGED
|
@@ -54,9 +54,13 @@ iface = gr.Interface(
|
|
| 54 |
inputs=[
|
| 55 |
gr.Textbox(
|
| 56 |
label="Text",
|
| 57 |
-
|
| 58 |
),
|
| 59 |
-
gr.Dropdown(
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
],
|
| 61 |
outputs=gr.Audio(label="Output", type="numpy"),
|
| 62 |
examples=examples,
|
|
|
|
| 54 |
inputs=[
|
| 55 |
gr.Textbox(
|
| 56 |
label="Text",
|
| 57 |
+
value="Text to synthesize."
|
| 58 |
),
|
| 59 |
+
gr.Dropdown(
|
| 60 |
+
label="Variant",
|
| 61 |
+
choices=list(ISO_CODES.keys()),
|
| 62 |
+
value="Tachelhit"
|
| 63 |
+
)
|
| 64 |
],
|
| 65 |
outputs=gr.Audio(label="Output", type="numpy"),
|
| 66 |
examples=examples,
|