Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -92,8 +92,16 @@ with gr.Blocks(css='style.css') as demo:
|
|
92 |
saved_input = gr.State()
|
93 |
|
94 |
with gr.Accordion(label='Advanced options', open=False):
|
95 |
-
system_prompt =
|
96 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
temperature = gr.Slider(
|
98 |
label='Temperature',
|
99 |
minimum=0.1,
|
|
|
92 |
saved_input = gr.State()
|
93 |
|
94 |
with gr.Accordion(label='Advanced options', open=False):
|
95 |
+
system_prompt = gr.Textbox(label='System prompt',
|
96 |
+
value=DEFAULT_SYSTEM_PROMPT,
|
97 |
+
lines=6)
|
98 |
+
max_new_tokens = gr.Slider(
|
99 |
+
label='Max new tokens',
|
100 |
+
minimum=1,
|
101 |
+
maximum=MAX_MAX_NEW_TOKENS,
|
102 |
+
step=1,
|
103 |
+
value=DEFAULT_MAX_NEW_TOKENS,
|
104 |
+
)
|
105 |
temperature = gr.Slider(
|
106 |
label='Temperature',
|
107 |
minimum=0.1,
|