MAZALA2024 commited on
Commit
1085211
·
verified ·
1 Parent(s): 452a689

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -47,18 +47,18 @@ def get_voices():
47
  iface = gr.Interface(
48
  fn=convert_tts,
49
  inputs=[
50
- gr.inputs.Dropdown(choices=get_models(), label="Model"),
51
- gr.inputs.Textbox(label="Text", placeholder="Enter text here"),
52
- gr.inputs.Dropdown(choices=get_voices(), label="Voice"),
53
- gr.inputs.Slider(minimum=0, maximum=1, step=0.01, label="Slang Rate"),
54
- gr.inputs.Checkbox(label="Use Uploaded Voice"),
55
- gr.inputs.File(label="Voice File")
56
  ],
57
  outputs=[
58
- gr.outputs.JSON(label="Info"),
59
- gr.outputs.Textbox(label="Audio URI")
60
  ],
61
- title="Text-to-Speech Conversion",
62
  # Remove or comment out concurrency parameters not supported in Gradio 4.36.0
63
  )
64
 
 
47
  iface = gr.Interface(
48
  fn=convert_tts,
49
  inputs=[
50
+ gr.Dropdown(choices=get_models(), label="Model"),
51
+ gr.Textbox(label="Text", placeholder="Enter text here"),
52
+ gr.Dropdown(choices=get_voices(), label="Voice"),
53
+ gr.Slider(minimum=0, maximum=1, step=0.01, label="Slang Rate"),
54
+ gr.Checkbox(label="Use Uploaded Voice"),
55
+ gr.File(label="Voice File")
56
  ],
57
  outputs=[
58
+ gr.JSON(label="Info"),
59
+ gr.Textbox(label="Audio URI")
60
  ],
61
+ title="Text-to-Speech Conversion"
62
  # Remove or comment out concurrency parameters not supported in Gradio 4.36.0
63
  )
64