Monster commited on
Commit
b6658ee
1 Parent(s): b9dcff2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -133,10 +133,12 @@ with gr.Blocks(theme=seafoam, analytics_enabled=False, css=css) as demo:
133
  with gr.Row():
134
  with gr.Column(scale=3):
135
  instruction = gr.Textbox(lines=2, placeholder="Tell me more about alpacas.", label="Instruction", elem_id="q-input")
136
- input = gr.components.Textbox(lines=2, label="Input", placeholder="none")
137
- temperature = gr.components.Slider(minimum=0, maximum=1, value=0.1, label="Temperature")
138
- top_p = gr.components.Slider(minimum=0, maximum=1, value=0.75, label="Top p")
139
- top_k = gr.components.Slider(minimum=0, maximum=100, step=1, value=40, label="Top k")
 
 
140
 
141
 
142
  with gr.Box():
 
133
  with gr.Row():
134
  with gr.Column(scale=3):
135
  instruction = gr.Textbox(lines=2, placeholder="Tell me more about alpacas.", label="Instruction", elem_id="q-input")
136
+
137
+ with gr.Accordion("Advanced setting", open=False)::
138
+ input = gr.components.Textbox(lines=2, label="Input", placeholder="none")
139
+ temperature = gr.components.Slider(minimum=0, maximum=1, value=0.1, label="Temperature")
140
+ top_p = gr.components.Slider(minimum=0, maximum=1, value=0.75, label="Top p")
141
+ top_k = gr.components.Slider(minimum=0, maximum=100, step=1, value=40, label="Top k")
142
 
143
 
144
  with gr.Box():