Zekun Wu commited on
Commit
07aabce
1 Parent(s): 6832bca
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,3 +1,5 @@
 
 
1
  import pandas as pd
2
  import streamlit as st
3
  import os
@@ -290,8 +292,6 @@ def sidebar_components():
290
  with open(file_name, 'r') as file:
291
  st.session_state['profile'] = json.load(file)
292
 
293
- # elif uploaded_file is not None:
294
- # st.session_state['profile'] = json.load(uploaded_file)
295
  else:
296
  st.sidebar.title("Chat with Our Career Advisor")
297
  #st.sidebar.markdown(
@@ -362,6 +362,7 @@ def sidebar_components():
362
 
363
  if st.sidebar.button('Submit Coach Feedback'):
364
  store_feedback(user_input, response, feedback, str(ratings), "wu981526092/feedback_coach")
 
365
  st.sidebar.success("Feedback submitted successfully!")
366
 
367
 
 
1
+ import time
2
+
3
  import pandas as pd
4
  import streamlit as st
5
  import os
 
292
  with open(file_name, 'r') as file:
293
  st.session_state['profile'] = json.load(file)
294
 
 
 
295
  else:
296
  st.sidebar.title("Chat with Our Career Advisor")
297
  #st.sidebar.markdown(
 
362
 
363
  if st.sidebar.button('Submit Coach Feedback'):
364
  store_feedback(user_input, response, feedback, str(ratings), "wu981526092/feedback_coach")
365
+ time.sleep(10)
366
  st.sidebar.success("Feedback submitted successfully!")
367
 
368