gokilashree commited on
Commit
75558ec
1 Parent(s): 43f7e99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ def generate_short_paragraph_from_text(translated_text):
56
  translated_text,
57
  max_length=80, # Reduced to 80 tokens
58
  num_return_sequences=1,
59
- temperature=0.2,
60
  top_p=0.8,
61
  truncation=True # Added truncation to avoid long sequences
62
  )[0]['generated_text']
 
56
  translated_text,
57
  max_length=80, # Reduced to 80 tokens
58
  num_return_sequences=1,
59
+ temperature=0.6,
60
  top_p=0.8,
61
  truncation=True # Added truncation to avoid long sequences
62
  )[0]['generated_text']