Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|