Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def generate_response(message, history):
|
|
23 |
with torch.no_grad():
|
24 |
outputs = model.generate(
|
25 |
**inputs,
|
26 |
-
max_new_tokens=
|
27 |
num_return_sequences=1,
|
28 |
temperature=0.7,
|
29 |
top_p=0.9,
|
|
|
23 |
with torch.no_grad():
|
24 |
outputs = model.generate(
|
25 |
**inputs,
|
26 |
+
max_new_tokens=1000,
|
27 |
num_return_sequences=1,
|
28 |
temperature=0.7,
|
29 |
top_p=0.9,
|