Cachoups commited on
Commit
b2df15a
·
verified ·
1 Parent(s): 922cb11

Update app.py

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