Cachoups commited on
Commit
3952f28
·
verified ·
1 Parent(s): bc69e2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -146,7 +146,7 @@ def process_and_compare(file1, sheet1, file2, sheet2):
146
  plt.savefig(file_path, format='png', bbox_inches='tight')
147
  plt.close()
148
 
149
- return file_path, stored_df1.Country.values.tolist()
150
 
151
  def find_sentences_with_keywords(text, keywords):
152
  # Split text into sentences using regular expression to match sentence-ending punctuation
 
146
  plt.savefig(file_path, format='png', bbox_inches='tight')
147
  plt.close()
148
 
149
+ return file_path, gr.update(choices=stored_df1.Country.values.tolist())
150
 
151
  def find_sentences_with_keywords(text, keywords):
152
  # Split text into sentences using regular expression to match sentence-ending punctuation