Spaces:
Runtime error
Runtime error
Commit
•
9f08aa0
1
Parent(s):
1cde72c
Update app.py
Browse files
app.py
CHANGED
@@ -40,8 +40,8 @@ def inference(text, voice):
|
|
40 |
for cond_path in cond_paths:
|
41 |
c = load_audio(cond_path, 22050)
|
42 |
conds.append(c)
|
43 |
-
|
44 |
-
|
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(
|
|
|
40 |
for cond_path in cond_paths:
|
41 |
c = load_audio(cond_path, 22050)
|
42 |
conds.append(c)
|
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(
|