Kit-Lemonfoot commited on
Commit
b80ae6b
1 Parent(s): 461be6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -387,7 +387,7 @@ if __name__ == "__main__":
387
  use_style_text = gr.Checkbox(label="Use stylization text", value=False)
388
  style_text = gr.Textbox(
389
  label="Style text",
390
- placeholder="Check the \"Use styleization text\" box to use this option!",
391
  info="The voice will be similar in tone and emotion to the text, however inflection and tempo may be worse as a result.",
392
  visible=True,
393
  )
@@ -414,13 +414,13 @@ if __name__ == "__main__":
414
  gr.Markdown(f"**{voice_name}**\n\nModel name: {model_path}")
415
  gr.Image(f"images/{image}", label=None, show_label=False, width=300, show_download_button=False, container=False, show_share_button=False)
416
  with gr.Column():
417
- with gr.TabItem("Preset Styles"):
418
  style = gr.Dropdown(
419
  label="Current style (Neutral is an average style)",
420
  choices=styledict[model_path],
421
  value="Neutral",
422
  )
423
- with gr.TabItem("Use an audio file"):
424
  ref_audio_path = gr.Audio(label="Reference Audio", type="filepath")
425
  style_weight = gr.Slider(
426
  minimum=0,
 
387
  use_style_text = gr.Checkbox(label="Use stylization text", value=False)
388
  style_text = gr.Textbox(
389
  label="Style text",
390
+ placeholder="Check the \"Use stylization text\" box to use this option!",
391
  info="The voice will be similar in tone and emotion to the text, however inflection and tempo may be worse as a result.",
392
  visible=True,
393
  )
 
414
  gr.Markdown(f"**{voice_name}**\n\nModel name: {model_path}")
415
  gr.Image(f"images/{image}", label=None, show_label=False, width=300, show_download_button=False, container=False, show_share_button=False)
416
  with gr.Column():
417
+ with gr.TabItem("Style using a preset"):
418
  style = gr.Dropdown(
419
  label="Current style (Neutral is an average style)",
420
  choices=styledict[model_path],
421
  value="Neutral",
422
  )
423
+ with gr.TabItem("Style using existing audio"):
424
  ref_audio_path = gr.Audio(label="Reference Audio", type="filepath")
425
  style_weight = gr.Slider(
426
  minimum=0,