Update app.py
Browse files
app.py
CHANGED
@@ -13,10 +13,10 @@ def out(audio1,audio2):
|
|
13 |
elif audio2==None:
|
14 |
|
15 |
x=s2t(audio1)
|
16 |
-
return
|
17 |
else:
|
18 |
x=s2t(audio2)
|
19 |
-
return
|
20 |
|
21 |
iface = gr.Interface(
|
22 |
fn=out,
|
|
|
13 |
elif audio2==None:
|
14 |
|
15 |
x=s2t(audio1)
|
16 |
+
return x, grammar(x)
|
17 |
else:
|
18 |
x=s2t(audio2)
|
19 |
+
return x, grammar(x)
|
20 |
|
21 |
iface = gr.Interface(
|
22 |
fn=out,
|