Tonic commited on
Commit
b7c14ad
1 Parent(s): 2be2050

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=500,
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,