Cachoups commited on
Commit
81f4916
·
verified ·
1 Parent(s): dd12354

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -195,7 +195,7 @@ def process_pdfs_and_analyze_sentiment(file1, file2, sheet):
195
 
196
  return result_pdf1, result_pdf2
197
  def change_choices(df):
198
- return gr.Dropdown.update(choices=df.Country.values.tolist())
199
 
200
  def generate_text(df, country, theme):
201
  # Filter the dataframe based on the country
 
195
 
196
  return result_pdf1, result_pdf2
197
  def change_choices(df):
198
+ return gr.update(choices=df.Country.values.tolist())
199
 
200
  def generate_text(df, country, theme):
201
  # Filter the dataframe based on the country