Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -98,7 +98,7 @@ with gr.Blocks() as demo:
|
|
98 |
with gr.Accordion(label='Advanced options', open=True):
|
99 |
system_prompt = gr.Textbox(label='System prompt',
|
100 |
value=DEFAULT_SYSTEM_PROMPT,
|
101 |
-
lines=
|
102 |
max_new_tokens = gr.Slider(
|
103 |
label='Max new tokens',
|
104 |
minimum=32,
|
@@ -128,6 +128,7 @@ with gr.Blocks() as demo:
|
|
128 |
show_label=False,
|
129 |
placeholder='Type a message...',
|
130 |
scale=10,
|
|
|
131 |
)
|
132 |
submit_button = gr.Button('Submit',
|
133 |
variant='primary',
|
|
|
98 |
with gr.Accordion(label='Advanced options', open=True):
|
99 |
system_prompt = gr.Textbox(label='System prompt',
|
100 |
value=DEFAULT_SYSTEM_PROMPT,
|
101 |
+
lines=1)
|
102 |
max_new_tokens = gr.Slider(
|
103 |
label='Max new tokens',
|
104 |
minimum=32,
|
|
|
128 |
show_label=False,
|
129 |
placeholder='Type a message...',
|
130 |
scale=10,
|
131 |
+
lines=6
|
132 |
)
|
133 |
submit_button = gr.Button('Submit',
|
134 |
variant='primary',
|