Ahsen Khaliq
commited on
Commit
·
3d98f11
1
Parent(s):
11e2337
Update app.py
Browse files
app.py
CHANGED
@@ -17,11 +17,9 @@ io2 = gr.Interface.load("huggingface/facebook/fastspeech2-en-ljspeech")
|
|
17 |
|
18 |
|
19 |
|
20 |
-
def inference(text
|
21 |
-
|
22 |
-
|
23 |
-
else:
|
24 |
-
audio = io2(text.strip())
|
25 |
return audio
|
26 |
|
27 |
gr.Interface(
|
|
|
17 |
|
18 |
|
19 |
|
20 |
+
def inference(text):
|
21 |
+
audio = io1(text)
|
22 |
+
#audio = io2(text.strip())
|
|
|
|
|
23 |
return audio
|
24 |
|
25 |
gr.Interface(
|