ajeetkumar01 commited on
Commit
6c9446c
·
verified ·
1 Parent(s): b492a07

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def generate_text(input_text, max_length=16, num_beams=5, do_sample=False, no_re
35
  return generated_text
36
 
37
 
38
- def generate_text_with_nucleus_search(input_text, max_length=128, do_sample=True, top_p=0.9):
39
  """
40
  Generate text with nucleus sampling based on the given input text.
41
 
 
35
  return generated_text
36
 
37
 
38
+ def generate_text_with_nucleus_search(input_text, max_length=16, do_sample=True, top_p=0.9):
39
  """
40
  Generate text with nucleus sampling based on the given input text.
41