pr0mila commited on
Commit
2fd4512
·
1 Parent(s): d385ddd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -36,7 +36,8 @@ def get_result_with_bloom(text):
36
  max_length=result_length,
37
  do_sample=True,
38
  top_k=50,
39
- top_p=0.9
 
40
  )[0])
41
  return output1
42
 
 
36
  max_length=result_length,
37
  do_sample=True,
38
  top_k=50,
39
+ top_p=0.9,early_stopping=True
40
+
41
  )[0])
42
  return output1
43