Update app.py
Browse files
app.py
CHANGED
@@ -38,6 +38,9 @@ model_options = ['chatGPT','Llama2']
|
|
38 |
# Create a list of options for the dropdown
|
39 |
country_options = ['All Countries','Angola','Botswana','Lesotho','Kenya','Malawi','Mozambique','Namibia','Rwanda','South Africa','Zambia','Zimbabwe']
|
40 |
|
|
|
|
|
|
|
41 |
# List of examples
|
42 |
examples = [
|
43 |
"-",
|
@@ -154,6 +157,7 @@ with st.sidebar:
|
|
154 |
* *Then be sure to mention the country names of interest in your query*
|
155 |
"""
|
156 |
)
|
|
|
157 |
# choice = st.sidebar.radio(label = 'Select the Document',
|
158 |
# help = 'You can upload the document \
|
159 |
# or else you can try a example document',
|
|
|
38 |
# Create a list of options for the dropdown
|
39 |
country_options = ['All Countries','Angola','Botswana','Lesotho','Kenya','Malawi','Mozambique','Namibia','Rwanda','South Africa','Zambia','Zimbabwe']
|
40 |
|
41 |
+
# Create a list of options for the dropdown
|
42 |
+
class_options = ['All Categories','Agricultural communities', 'Children', 'Coastal communities', 'Ethnic, racial or other minorities', 'Fishery communities', 'Informal sector workers', 'Members of indigenous and local communities', 'Migrants and displaced persons', 'Older persons', 'Persons living in poverty', 'Persons with disabilities', 'Persons with pre-existing health conditions', 'Residents of drought-prone regions', 'Rural populations', 'Sexual minorities (LGBTQI+)', 'Urban populations', 'Women and other genders','Other']
|
43 |
+
|
44 |
# List of examples
|
45 |
examples = [
|
46 |
"-",
|
|
|
157 |
* *Then be sure to mention the country names of interest in your query*
|
158 |
"""
|
159 |
)
|
160 |
+
class = st.sidebar.selectbox('Select a vulnerabilities category:', class_options)
|
161 |
# choice = st.sidebar.radio(label = 'Select the Document',
|
162 |
# help = 'You can upload the document \
|
163 |
# or else you can try a example document',
|