mrfakename commited on
Commit
818d7f0
1 Parent(s): 8232b2e
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ with gr.Blocks() as clone:
44
  with gr.Row():
45
  with gr.Column(scale=1):
46
  clinp = gr.Textbox(label="Text", info="What would you like StyleTTS 2 to read? It works better on full sentences.", interactive=True)
47
- clvoice = gr.Audio(label="Voice", interactive=True)
48
  with gr.Column(scale=1):
49
  clbtn = gr.Button("Synthesize", variant="primary")
50
  claudio = gr.Audio(interactive=False, label="Synthesized Audio")
 
44
  with gr.Row():
45
  with gr.Column(scale=1):
46
  clinp = gr.Textbox(label="Text", info="What would you like StyleTTS 2 to read? It works better on full sentences.", interactive=True)
47
+ clvoice = gr.Audio(label="Voice", interactive=True, type='filepath', max_length=300)
48
  with gr.Column(scale=1):
49
  clbtn = gr.Button("Synthesize", variant="primary")
50
  claudio = gr.Audio(interactive=False, label="Synthesized Audio")