Cachoups commited on
Commit
9831363
·
verified ·
1 Parent(s): fae8526

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -274,7 +274,7 @@ def generate_text(df, country, theme):
274
 
275
 
276
  # Generate the descriptive text using the model
277
- result = table_to_text(prompt, max_length=200, temperature = 0.2, top_p = 0.3)[0]['generated_text']
278
 
279
  return result
280
  # Global variable
 
274
 
275
 
276
  # Generate the descriptive text using the model
277
+ result = table_to_text(prompt, max_length=200, temperature = 0.7, top_p = 0.9)[0]['generated_text']
278
 
279
  return result
280
  # Global variable