Spaces:
Configuration error

truevis commited on
Commit
bc96ee5
·
1 Parent(s): 3dafb95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -23,8 +23,8 @@ questions = [
23
  "Can you explain the differences between the public housing program and the Section 202 Supportive Housing for the Elderly program, and help me determine which one might be a better fit for my elderly client?",
24
  "I'm working with a community organization that wants to apply for a Community Development Block Grant (CDBG) to revitalize a low-income neighborhood. What are some key things we should know about the application process and how the funds can be used?",
25
  "List the PDF source pages and their URLS for the previous chat response from Assistant. List the full exact URLs from the source data.",
26
- "summarize the previous chat response from Assistant",
27
- "generate a draft email focusing directly on the subject or main question. Omit any initial greetings or pleasantries, such as 'I hope this message finds you well.'"
28
  ]
29
 
30
 
@@ -209,7 +209,8 @@ with st.sidebar:
209
  st.markdown(about)
210
  with st.expander("Example Questions"):
211
  for question in questions:
212
- st.markdown(question)
 
213
  st.markdown("## Settings:")
214
  db_results = st.number_input("Results to get from knowledge base:", value=5 , min_value=1)
215
  if st.button("Reset Chat"):
 
23
  "Can you explain the differences between the public housing program and the Section 202 Supportive Housing for the Elderly program, and help me determine which one might be a better fit for my elderly client?",
24
  "I'm working with a community organization that wants to apply for a Community Development Block Grant (CDBG) to revitalize a low-income neighborhood. What are some key things we should know about the application process and how the funds can be used?",
25
  "List the PDF source pages and their URLS for the previous chat response from Assistant. List the full exact URLs from the source data.",
26
+ "Summarize the previous chat response from Assistant",
27
+ "Generate a draft email focusing directly on the subject or main question. Omit any initial greetings or pleasantries, such as 'I hope this message finds you well.'"
28
  ]
29
 
30
 
 
209
  st.markdown(about)
210
  with st.expander("Example Questions"):
211
  for question in questions:
212
+ # st.markdown(question)
213
+ st.code(question, language="None", line_numbers=False)
214
  st.markdown("## Settings:")
215
  db_results = st.number_input("Results to get from knowledge base:", value=5 , min_value=1)
216
  if st.button("Reset Chat"):