ekwek commited on
Commit
bf7fc52
·
verified ·
1 Parent(s): 2f7bc9c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -58,18 +58,19 @@ with gr.Blocks() as demo:
58
  text_in = gr.Textbox(
59
  label="Input Text",
60
  placeholder="Enter text to synthesize...",
 
61
  lines=4,
62
  )
63
 
64
  with gr.Accordion("Advanced options", open=False):
65
  temperature = gr.Slider(
66
- 0.0, 1.5, value=0.8, step=0.05, label="Temperature"
67
  )
68
  top_p = gr.Slider(
69
  0.0, 1.0, value=0.95, step=0.01, label="Top-p"
70
  )
71
  repetition_penalty = gr.Slider(
72
- 0.5, 2.0, value=1.2, step=0.05, label="Repetition penalty"
73
  )
74
 
75
  gen_btn = gr.Button("Generate")
 
58
  text_in = gr.Textbox(
59
  label="Input Text",
60
  placeholder="Enter text to synthesize...",
61
+ value="Soprano is an extremely lightweight text to speech model designed to produce highly realistic speech at unprecedented speed.",
62
  lines=4,
63
  )
64
 
65
  with gr.Accordion("Advanced options", open=False):
66
  temperature = gr.Slider(
67
+ 0.0, 1.0, value=0.3, step=0.05, label="Temperature"
68
  )
69
  top_p = gr.Slider(
70
  0.0, 1.0, value=0.95, step=0.01, label="Top-p"
71
  )
72
  repetition_penalty = gr.Slider(
73
+ 1.0, 2.0, value=1.2, step=0.05, label="Repetition penalty"
74
  )
75
 
76
  gen_btn = gr.Button("Generate")