Spaces:
Running
Running
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -89,7 +89,7 @@ def respond(message, history, model_name):
|
|
| 89 |
with torch.no_grad():
|
| 90 |
outputs = model.generate(
|
| 91 |
**inputs,
|
| 92 |
-
max_new_tokens=
|
| 93 |
temperature=0.7,
|
| 94 |
do_sample=True,
|
| 95 |
repetition_penalty=1.1,
|
|
|
|
| 89 |
with torch.no_grad():
|
| 90 |
outputs = model.generate(
|
| 91 |
**inputs,
|
| 92 |
+
max_new_tokens=1024,
|
| 93 |
temperature=0.7,
|
| 94 |
do_sample=True,
|
| 95 |
repetition_penalty=1.1,
|