Spaces:
Running
on
Zero
Running
on
Zero
Daemontatox
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ def stream_chat(
|
|
63 |
history: list,
|
64 |
system_prompt: str,
|
65 |
temperature: float = 0.8,
|
66 |
-
max_new_tokens: int =
|
67 |
top_p: float = 1.0,
|
68 |
top_k: int = 20,
|
69 |
penalty: float = 1.2,
|
@@ -138,7 +138,7 @@ with gr.Blocks(css=CSS, theme="soft") as demo:
|
|
138 |
minimum=128,
|
139 |
maximum=128000,
|
140 |
step=1,
|
141 |
-
value=
|
142 |
label="Max new tokens",
|
143 |
render=False,
|
144 |
),
|
|
|
63 |
history: list,
|
64 |
system_prompt: str,
|
65 |
temperature: float = 0.8,
|
66 |
+
max_new_tokens: int = 128000,
|
67 |
top_p: float = 1.0,
|
68 |
top_k: int = 20,
|
69 |
penalty: float = 1.2,
|
|
|
138 |
minimum=128,
|
139 |
maximum=128000,
|
140 |
step=1,
|
141 |
+
value= 128000,
|
142 |
label="Max new tokens",
|
143 |
render=False,
|
144 |
),
|