Spaces:
Running
Running
amirgame197
commited on
Commit
•
b4b1e84
1
Parent(s):
b703cba
Update app.py
Browse files
app.py
CHANGED
@@ -17,23 +17,13 @@ def tts(text: str):
|
|
17 |
|
18 |
|
19 |
article= ""
|
20 |
-
|
21 |
-
fn=tts
|
22 |
-
inputs
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
#iface = gr.Interface(
|
31 |
-
# fn=tts,
|
32 |
-
# inputs=[
|
33 |
-
# gr.Textbox(
|
34 |
-
# label="Input",
|
35 |
-
# )
|
36 |
-
# ],
|
37 |
-
# outputs=gr.Audio(label="Output",type='filepath')
|
38 |
-
#)
|
39 |
-
#iface.launch()
|
|
|
17 |
|
18 |
|
19 |
article= ""
|
20 |
+
iface = gr.Interface(
|
21 |
+
fn=tts,
|
22 |
+
inputs=[
|
23 |
+
gr.Textbox(
|
24 |
+
label="Input",
|
25 |
+
)
|
26 |
+
],
|
27 |
+
outputs=gr.Audio(label="Output",type='filepath')
|
28 |
+
)
|
29 |
+
iface.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|