Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
|
|
|
|
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():
|