Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -300,8 +300,8 @@ with gr.Blocks() as demo:
|
|
| 300 |
with gr.Column(scale=0.3, min_width=300):
|
| 301 |
with gr.Group():
|
| 302 |
with gr.Accordion('Text Advanced Options', open=True):
|
| 303 |
-
top_p = gr.Slider(0, 1, value=0.
|
| 304 |
-
temperature = gr.Slider(0, 1, value=0.
|
| 305 |
with gr.Accordion('Audio Advanced Options', open=False):
|
| 306 |
audio_length_in_s = gr.Slider(5, 30, value=30, step=1, label="The audio length in seconds",
|
| 307 |
interactive=True)
|
|
|
|
| 300 |
with gr.Column(scale=0.3, min_width=300):
|
| 301 |
with gr.Group():
|
| 302 |
with gr.Accordion('Text Advanced Options', open=True):
|
| 303 |
+
top_p = gr.Slider(0, 1, value=0.8, step=0.01, label="Top P", interactive=True)
|
| 304 |
+
temperature = gr.Slider(0, 1, value=0.4, step=0.01, label="Temperature", interactive=True)
|
| 305 |
with gr.Accordion('Audio Advanced Options', open=False):
|
| 306 |
audio_length_in_s = gr.Slider(5, 30, value=30, step=1, label="The audio length in seconds",
|
| 307 |
interactive=True)
|