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