mindwrapped commited on
Commit
27c1055
1 Parent(s): ba9f037

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def generate_text(text, temperature):
18
  for i, sample_output in enumerate(sample_outputs):
19
  out = tokenizer.decode(sample_output, skip_special_tokens=True)
20
 
21
- if len(out) > 50:
22
  stop = True
23
 
24
  return out
 
18
  for i, sample_output in enumerate(sample_outputs):
19
  out = tokenizer.decode(sample_output, skip_special_tokens=True)
20
 
21
+ if len(out) > 150:
22
  stop = True
23
 
24
  return out