Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,4 +19,4 @@ def text_to_speech(text, voice):
|
|
| 19 |
|
| 20 |
voice_options = ["en-US-JennyNeural", "en-US-GuyNeural"]
|
| 21 |
|
| 22 |
-
gr.Interface(fn=text_to_speech, inputs=["text", gr.
|
|
|
|
| 19 |
|
| 20 |
voice_options = ["en-US-JennyNeural", "en-US-GuyNeural"]
|
| 21 |
|
| 22 |
+
gr.Interface(fn=text_to_speech, inputs=["text", gr.Dropdown(voice_options)], outputs="audio").launch()
|