Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ def generate_response(input_data, chat_history, max_new_tokens, system_prompt, t
|
|
65 |
demo = gr.ChatInterface(
|
66 |
fn=generate_response,
|
67 |
additional_inputs=[
|
68 |
-
gr.Slider(label="Max new tokens", minimum=64, maximum=4096, step=1, value=
|
69 |
gr.Textbox(
|
70 |
label="System Prompt",
|
71 |
value="You are a helpful assistant. Reasoning: medium",
|
|
|
65 |
demo = gr.ChatInterface(
|
66 |
fn=generate_response,
|
67 |
additional_inputs=[
|
68 |
+
gr.Slider(label="Max new tokens", minimum=64, maximum=4096, step=1, value=2048),
|
69 |
gr.Textbox(
|
70 |
label="System Prompt",
|
71 |
value="You are a helpful assistant. Reasoning: medium",
|