meadevx commited on
Commit
691908b
·
verified ·
1 Parent(s): b1bc02d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def text_to_speech(text):
36
  demo = gr.Interface(
37
  text_to_speech,
38
  gr.Textbox(label="Text to narrate"),
39
- gr.Audio(label="Narrated audio", sample_rate=model.config.sampling_rate),
40
  title="Text-to-Speech",
41
  description="Enter text to generate audio narration",
42
  )
 
36
  demo = gr.Interface(
37
  text_to_speech,
38
  gr.Textbox(label="Text to narrate"),
39
+ gr.Audio(label="Narrated audio"),
40
  title="Text-to-Speech",
41
  description="Enter text to generate audio narration",
42
  )