Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -221,7 +221,7 @@ with iface:
|
|
221 |
with gr.Accordion("Click to modify detailed configurations", open=False):
|
222 |
seed = gr.Number(value=45, label="Change this value (any integer number) will lead to a different generation result.")
|
223 |
duration = gr.Slider(2.5, 10, value=5, step=2.5, label="Duration (seconds)")
|
224 |
-
guidance_scale = gr.Slider(0,
|
225 |
n_candidates = gr.Slider(1, 5, value=3, step=1, label="Automatic quality control. This number control the number of candidates (e.g., generate three audios and choose the best to show you). A Larger value usually lead to better quality with heavier computation")
|
226 |
############# Output
|
227 |
# outputs=gr.Audio(label="Output", type="numpy")
|
|
|
221 |
with gr.Accordion("Click to modify detailed configurations", open=False):
|
222 |
seed = gr.Number(value=45, label="Change this value (any integer number) will lead to a different generation result.")
|
223 |
duration = gr.Slider(2.5, 10, value=5, step=2.5, label="Duration (seconds)")
|
224 |
+
guidance_scale = gr.Slider(0, 4, value=2.5, step=0.5, label="Guidance scale (Large => better quality and relavancy to text; Small => better diversity)")
|
225 |
n_candidates = gr.Slider(1, 5, value=3, step=1, label="Automatic quality control. This number control the number of candidates (e.g., generate three audios and choose the best to show you). A Larger value usually lead to better quality with heavier computation")
|
226 |
############# Output
|
227 |
# outputs=gr.Audio(label="Output", type="numpy")
|