Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -295,7 +295,7 @@ def build_demo(embed_mode):
|
|
295 |
], inputs=[imagebox, textbox])
|
296 |
|
297 |
with gr.Accordion("Parameters", open=True) as parameter_row:
|
298 |
-
temperature = gr.Slider(minimum=0.0, maximum=1.0, value=0
|
299 |
top_p = gr.Slider(minimum=0.0, maximum=1.0, value=0.7, step=0.1, interactive=True, label="Top P",)
|
300 |
max_output_tokens = gr.Slider(minimum=0, maximum=1024, value=512, step=64, interactive=True, label="Max output tokens",)
|
301 |
|
|
|
295 |
], inputs=[imagebox, textbox])
|
296 |
|
297 |
with gr.Accordion("Parameters", open=True) as parameter_row:
|
298 |
+
temperature = gr.Slider(minimum=0.0, maximum=1.0, value=1.0, step=0.1, interactive=True, label="Temperature",)
|
299 |
top_p = gr.Slider(minimum=0.0, maximum=1.0, value=0.7, step=0.1, interactive=True, label="Top P",)
|
300 |
max_output_tokens = gr.Slider(minimum=0, maximum=1024, value=512, step=64, interactive=True, label="Max output tokens",)
|
301 |
|