John Graham Reynolds commited on
Commit
6c2280c
·
1 Parent(s): fc14944

remove container turn off sleep

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -232,7 +232,7 @@ def feedback():
232
  st.write(f"The feedback was: {sentiment_mapping[rating]} : {feedback}")
233
 
234
  # st.markdown(review)
235
- time.sleep(5)
236
  # # Save the feedback data
237
  # if st.button("Submit"):
238
  # with open("feedback.json", "a") as f:
@@ -261,8 +261,8 @@ with main:
261
  if prompt := st.chat_input("Type a message!", max_chars=5000):
262
  handle_user_input(prompt)
263
  st.markdown("\n") #add some space for iphone users
264
- with st.container():
265
- st.button('Give Feedback on Last Response', on_click=feedback)
266
 
267
  with st.sidebar:
268
  with st.container():
 
232
  st.write(f"The feedback was: {sentiment_mapping[rating]} : {feedback}")
233
 
234
  # st.markdown(review)
235
+ # time.sleep(5)
236
  # # Save the feedback data
237
  # if st.button("Submit"):
238
  # with open("feedback.json", "a") as f:
 
261
  if prompt := st.chat_input("Type a message!", max_chars=5000):
262
  handle_user_input(prompt)
263
  st.markdown("\n") #add some space for iphone users
264
+ # with st.container():
265
+ st.button('Give Feedback on Last Response', on_click=feedback)
266
 
267
  with st.sidebar:
268
  with st.container():