Spaces:
Runtime error
Runtime error
osanseviero
commited on
Commit
·
91eda71
1
Parent(s):
d2e0f91
Update app.py
Browse files
app.py
CHANGED
@@ -43,15 +43,14 @@ def inference(text, voice):
|
|
43 |
gen = tts.tts_with_preset(text, conds, preset)
|
44 |
return gen
|
45 |
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
outputs="audio",
|
55 |
)
|
56 |
|
57 |
iface.launch()
|
|
|
43 |
gen = tts.tts_with_preset(text, conds, preset)
|
44 |
return gen
|
45 |
|
46 |
+
text = "Joining two modalities results in a surprising increase in generalization! What would happen if we combined them all?"
|
47 |
+
iface = gr.Interface(
|
48 |
+
generate_tone,
|
49 |
+
inputs=[
|
50 |
+
gr.inputs.Textbox(type="text", default=text, label="Text"),
|
51 |
+
gr.inputs.Dropdown(voices, type="index"),
|
52 |
+
],
|
53 |
+
outputs="audio",
|
|
|
54 |
)
|
55 |
|
56 |
iface.launch()
|