hivecorp commited on
Commit
458d8c3
·
verified ·
1 Parent(s): 8a61d62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -19,10 +19,10 @@ def kokoro_tts(text, speaker):
19
  iface = gr.Interface(
20
  fn=kokoro_tts,
21
  inputs=[
22
- gr.inputs.Textbox(lines=2, placeholder="Enter text here..."),
23
- gr.inputs.Dropdown(choices=list(SPEAKER_MODELS.keys()), label="Select Speaker")
24
  ],
25
- outputs=gr.outputs.Audio(label="Generated Speech"),
26
  title="Kokoro Text-to-Speech",
27
  description="A Text-to-Speech app powered by Kokoro and Transformers.js with multiple speaker options"
28
  )
 
19
  iface = gr.Interface(
20
  fn=kokoro_tts,
21
  inputs=[
22
+ gr.Textbox(lines=2, placeholder="Enter text here..."),
23
+ gr.Dropdown(choices=list(SPEAKER_MODELS.keys()), label="Select Speaker")
24
  ],
25
+ outputs=gr.Audio(label="Generated Speech"),
26
  title="Kokoro Text-to-Speech",
27
  description="A Text-to-Speech app powered by Kokoro and Transformers.js with multiple speaker options"
28
  )