Upload app.py
Browse files
app.py
CHANGED
@@ -141,8 +141,8 @@ def create_instruct_demo():
|
|
141 |
lines=2, label="Instruction")
|
142 |
object_list = gr.Textbox(
|
143 |
lines=5, label="Input")
|
144 |
-
max_len = gr.Slider(minimum=
|
145 |
-
value=
|
146 |
with gr.Accordion(label='Advanced options', open=False):
|
147 |
temp = gr.Slider(minimum=0, maximum=1,
|
148 |
value=0.8, label="Temperature")
|
|
|
141 |
lines=2, label="Instruction")
|
142 |
object_list = gr.Textbox(
|
143 |
lines=5, label="Input")
|
144 |
+
max_len = gr.Slider(minimum=256, maximum=1024,
|
145 |
+
value=512, label="Max length")
|
146 |
with gr.Accordion(label='Advanced options', open=False):
|
147 |
temp = gr.Slider(minimum=0, maximum=1,
|
148 |
value=0.8, label="Temperature")
|