Spaces:
Running
on
Zero
Running
on
Zero
update app
Browse files
app.py
CHANGED
|
@@ -354,7 +354,7 @@ with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
|
|
| 354 |
with gr.Group(visible=False) as prompt_group:
|
| 355 |
custom_prompt = gr.Textbox(label="Custom Query / Prompt", placeholder="Extract text...", lines=2)
|
| 356 |
|
| 357 |
-
with gr.Accordion("Advanced
|
| 358 |
max_new_tokens = gr.Slider(minimum=128, maximum=8192, value=2048, step=128, label="Max New Tokens")
|
| 359 |
temperature = gr.Slider(minimum=0.0, maximum=1.0, value=0.2, step=0.1, label="Temperature")
|
| 360 |
top_p = gr.Slider(minimum=0.0, maximum=1.0, value=0.9, step=0.05, label="Top P")
|
|
|
|
| 354 |
with gr.Group(visible=False) as prompt_group:
|
| 355 |
custom_prompt = gr.Textbox(label="Custom Query / Prompt", placeholder="Extract text...", lines=2)
|
| 356 |
|
| 357 |
+
with gr.Accordion("Advanced Settings", open=False):
|
| 358 |
max_new_tokens = gr.Slider(minimum=128, maximum=8192, value=2048, step=128, label="Max New Tokens")
|
| 359 |
temperature = gr.Slider(minimum=0.0, maximum=1.0, value=0.2, step=0.1, label="Temperature")
|
| 360 |
top_p = gr.Slider(minimum=0.0, maximum=1.0, value=0.9, step=0.05, label="Top P")
|