Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -237,7 +237,7 @@ def generate_response(ai_emotion, input_text):
|
|
237 |
response_ids = response_model.generate(
|
238 |
inputs.input_ids,
|
239 |
attention_mask=inputs.attention_mask,
|
240 |
-
max_length=
|
241 |
num_return_sequences=1,
|
242 |
no_repeat_ngram_size=2,
|
243 |
do_sample=True,
|
|
|
237 |
response_ids = response_model.generate(
|
238 |
inputs.input_ids,
|
239 |
attention_mask=inputs.attention_mask,
|
240 |
+
max_length=400,
|
241 |
num_return_sequences=1,
|
242 |
no_repeat_ngram_size=2,
|
243 |
do_sample=True,
|