Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -97,9 +97,8 @@ def generate_wav_file(text):
|
|
97 |
iface = gr.Interface(
|
98 |
fn=generate_wav_file,
|
99 |
inputs=gr.Textbox(lines=3, label="Enter text to convert to speech"),
|
100 |
-
outputs=
|
101 |
title="Text-to-Speech Technical EN"
|
102 |
)
|
103 |
if __name__ == "__main__":
|
104 |
iface.launch()
|
105 |
-
#gr.Audio(type="filepath", label="Generated Audio")
|
|
|
97 |
iface = gr.Interface(
|
98 |
fn=generate_wav_file,
|
99 |
inputs=gr.Textbox(lines=3, label="Enter text to convert to speech"),
|
100 |
+
outputs= gr.Audio(type="filepath", label="Generated Audio"),
|
101 |
title="Text-to-Speech Technical EN"
|
102 |
)
|
103 |
if __name__ == "__main__":
|
104 |
iface.launch()
|
|