Spestly commited on
Commit
5eaf839
1 Parent(s): 425e273

Update app.py

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