Zekun Wu commited on
Commit
5f639dd
1 Parent(s): 54a765f
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -186,13 +186,15 @@ def main_app():
186
  # display the response
187
  if st.session_state['analysis']:
188
  # Ask for feedback
 
 
189
  feedback = st.text_input("Provide your feedback on the response:")
190
  rating = st.slider("Rate the response:", 0, 10, 5)
191
 
192
  if st.sidebar.button('Submit Feedback'):
193
  store_feedback(str(prompt), response, feedback, rating, "wu981526092/feedback_report")
194
 
195
- st.markdown(st.session_state['analysis'])
196
 
197
  else:
198
  st.write("Please upload a profile JSON file or use the example profile.")
 
186
  # display the response
187
  if st.session_state['analysis']:
188
  # Ask for feedback
189
+ st.markdown(st.session_state['analysis'])
190
+
191
  feedback = st.text_input("Provide your feedback on the response:")
192
  rating = st.slider("Rate the response:", 0, 10, 5)
193
 
194
  if st.sidebar.button('Submit Feedback'):
195
  store_feedback(str(prompt), response, feedback, rating, "wu981526092/feedback_report")
196
 
197
+
198
 
199
  else:
200
  st.write("Please upload a profile JSON file or use the example profile.")