Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def generate_response(user_message, history):
|
|
55 |
conversation,
|
56 |
return_tensors="pt",
|
57 |
truncation=True,
|
58 |
-
max_length=
|
59 |
# padding=True,
|
60 |
# return_attention_mask=True
|
61 |
).to(device)
|
|
|
55 |
conversation,
|
56 |
return_tensors="pt",
|
57 |
truncation=True,
|
58 |
+
max_length=8192,
|
59 |
# padding=True,
|
60 |
# return_attention_mask=True
|
61 |
).to(device)
|