sabssag commited on
Commit
600c025
·
verified ·
1 Parent(s): 85b498f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ if text:
20
  # Generate text
21
  output = model.generate(
22
  input_ids=encoded_input['input_ids'],
23
- max_length=200, # Adjust length as needed
24
  num_return_sequences=1,
25
  no_repeat_ngram_size=2,
26
  top_p=0.95,
 
20
  # Generate text
21
  output = model.generate(
22
  input_ids=encoded_input['input_ids'],
23
+ max_length=100,
24
  num_return_sequences=1,
25
  no_repeat_ngram_size=2,
26
  top_p=0.95,