Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ def text_to_speech(text):
|
|
| 19 |
iface = gr.Interface(
|
| 20 |
fn=text_to_speech,
|
| 21 |
inputs=gr.inputs.Textbox(default="Enter text here...", label="Input Text"),
|
| 22 |
-
outputs=gr.outputs.Audio(
|
| 23 |
title="Text to Speech",
|
| 24 |
description="Enter text and click 'Generate' to convert it to speech.",
|
| 25 |
theme="blue",
|
|
|
|
| 19 |
iface = gr.Interface(
|
| 20 |
fn=text_to_speech,
|
| 21 |
inputs=gr.inputs.Textbox(default="Enter text here...", label="Input Text"),
|
| 22 |
+
outputs=gr.outputs.Audio(label="Voice"), # Updated to use 'numpy' type by default
|
| 23 |
title="Text to Speech",
|
| 24 |
description="Enter text and click 'Generate' to convert it to speech.",
|
| 25 |
theme="blue",
|