Spaces:
Runtime error
Runtime error
Harveenchadha
commited on
Commit
•
fe316fd
1
Parent(s):
b490220
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import os
|
2 |
-
|
3 |
#os.system('git clone https://github.com/Open-Speech-EkStep/vakyansh-tts')
|
4 |
os.chdir('vakyansh_tts')
|
5 |
os.system('bash install.sh')
|
@@ -59,7 +59,7 @@ def run_tts(text):
|
|
59 |
|
60 |
_, audio = run_tts('hello my name is harveen')
|
61 |
|
62 |
-
|
63 |
textbox = gr.inputs.Textbox(
|
64 |
placeholder="Enter Hindi text here", default="", label="TTS"
|
65 |
)
|
@@ -67,4 +67,3 @@ textbox = gr.inputs.Textbox(
|
|
67 |
op = gr.outputs.Audio(type="numpy", label=None)
|
68 |
iface = gr.Interface(fn=run_tts, inputs=textbox, outputs=op)
|
69 |
iface.launch()
|
70 |
-
'''
|
|
|
1 |
import os
|
2 |
+
import gradio as gr
|
3 |
#os.system('git clone https://github.com/Open-Speech-EkStep/vakyansh-tts')
|
4 |
os.chdir('vakyansh_tts')
|
5 |
os.system('bash install.sh')
|
|
|
59 |
|
60 |
_, audio = run_tts('hello my name is harveen')
|
61 |
|
62 |
+
|
63 |
textbox = gr.inputs.Textbox(
|
64 |
placeholder="Enter Hindi text here", default="", label="TTS"
|
65 |
)
|
|
|
67 |
op = gr.outputs.Audio(type="numpy", label=None)
|
68 |
iface = gr.Interface(fn=run_tts, inputs=textbox, outputs=op)
|
69 |
iface.launch()
|
|