hikewa commited on
Commit
bcf7ac9
·
verified ·
1 Parent(s): e554d99

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -89,7 +89,7 @@ def respond(message, history, model_name):
89
  with torch.no_grad():
90
  outputs = model.generate(
91
  **inputs,
92
- max_new_tokens=512,
93
  temperature=0.7,
94
  do_sample=True,
95
  repetition_penalty=1.1,
 
89
  with torch.no_grad():
90
  outputs = model.generate(
91
  **inputs,
92
+ max_new_tokens=1024,
93
  temperature=0.7,
94
  do_sample=True,
95
  repetition_penalty=1.1,