Cachoups commited on
Commit
858842b
·
verified ·
1 Parent(s): a9abc0f

Update app.py

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