Update app.py
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ def get_docs(input_query, country = None):
|
|
| 51 |
Construct a hacky query to focus the retriever on the target country (see notes below)
|
| 52 |
We take the top 150 k because we want to make sure we have 10 pertaining to the selected country
|
| 53 |
'''
|
| 54 |
-
if country == '
|
| 55 |
query = input_query
|
| 56 |
else:
|
| 57 |
query = "For the country of "+country+", "+input_query
|
|
|
|
| 51 |
Construct a hacky query to focus the retriever on the target country (see notes below)
|
| 52 |
We take the top 150 k because we want to make sure we have 10 pertaining to the selected country
|
| 53 |
'''
|
| 54 |
+
if country == 'All Countries':
|
| 55 |
query = input_query
|
| 56 |
else:
|
| 57 |
query = "For the country of "+country+", "+input_query
|