Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ def multimodal_prompt(user_input, system_prompt):
|
|
| 31 |
# Generate a response using the model
|
| 32 |
output = peft_model.generate(
|
| 33 |
**model_inputs,
|
| 34 |
-
max_length=
|
| 35 |
use_cache=True,
|
| 36 |
early_stopping=False,
|
| 37 |
bos_token_id=peft_model.config.bos_token_id,
|
|
|
|
| 31 |
# Generate a response using the model
|
| 32 |
output = peft_model.generate(
|
| 33 |
**model_inputs,
|
| 34 |
+
max_length=400,
|
| 35 |
use_cache=True,
|
| 36 |
early_stopping=False,
|
| 37 |
bos_token_id=peft_model.config.bos_token_id,
|