mtyrrell commited on
Commit
cc63789
1 Parent(s): 33b064d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -56,16 +56,16 @@ ALWAYS include references for information used from documents at the end of each
56
  Do not include page numbers in the references. \
57
  If no relevant information to answer the question is present in the documents, just say you don't have enough information to answer."
58
 
59
- @st.cache.data
60
  # Create a list of options for the dropdown
61
- model_options = ['chatGPT','Llama2']
62
 
63
- @st.cache.data
64
  # Create a list of options for the dropdown
 
65
  country_options = ['All Countries','Angola','Botswana','Lesotho','Kenya','Malawi','Mozambique','Namibia','Rwanda','South Africa','Zambia','Zimbabwe']
66
 
67
- @st.cache.data
68
  # Create a list of options for the dropdown
 
69
  vulnerability_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']
70
 
71
  @st.cache.data
 
56
  Do not include page numbers in the references. \
57
  If no relevant information to answer the question is present in the documents, just say you don't have enough information to answer."
58
 
59
+
60
  # Create a list of options for the dropdown
61
+ # model_options = ['chatGPT','Llama2']
62
 
 
63
  # Create a list of options for the dropdown
64
+ @st.cache.data
65
  country_options = ['All Countries','Angola','Botswana','Lesotho','Kenya','Malawi','Mozambique','Namibia','Rwanda','South Africa','Zambia','Zimbabwe']
66
 
 
67
  # Create a list of options for the dropdown
68
+ @st.cache.data
69
  vulnerability_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']
70
 
71
  @st.cache.data