Ida commited on
Commit
732198e
·
1 Parent(s): 545dc08

change app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def generate(question: str, level: str, step_by_step: bool) -> str:
31
  with torch.no_grad():
32
  out = model.generate(
33
  **inputs,
34
- max_new_tokens=90,
35
  do_sample=True,
36
  temperature=0.7,
37
  top_p=0.95,
 
31
  with torch.no_grad():
32
  out = model.generate(
33
  **inputs,
34
+ max_new_tokens=192,
35
  do_sample=True,
36
  temperature=0.7,
37
  top_p=0.95,