MAKHLWF commited on
Commit
bb10bba
·
1 Parent(s): f7a0960

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(type="bytes", label="Voice"), # Removed the mime parameter
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",