Cachoups commited on
Commit
5ace46b
·
verified ·
1 Parent(s): 2df52b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -291,7 +291,7 @@ def generate_text(df, country, theme):
291
  """
292
 
293
  # Generate the descriptive text using the model
294
- result = table_to_text(prompt, max_length=240, temperature = 0.7, top_p = 0.3, do_sample = True)[0]['generated_text']
295
 
296
  return result
297
  # Global variable
 
291
  """
292
 
293
  # Generate the descriptive text using the model
294
+ result = table_to_text(prompt, max_length=240, temperature = 0.7, top_p = 0.3, do_sample = False)[0]['generated_text']
295
 
296
  return result
297
  # Global variable