Spaces:
Sleeping
Sleeping
John Graham Reynolds
commited on
Commit
·
7a195c2
1
Parent(s):
35c020a
move button to below user input
Browse files
app.py
CHANGED
@@ -88,9 +88,6 @@ def feedback():
|
|
88 |
# f.write()
|
89 |
# st.write("Thank you for your feedback!")
|
90 |
|
91 |
-
|
92 |
-
st.button('Give Feedback on Last Response', on_click=feedback)
|
93 |
-
|
94 |
# build our chain outside the working body so that its only instantiated once - simply pass it the chat history for chat completion
|
95 |
chain = ChainBuilder().build_chain()
|
96 |
|
@@ -254,6 +251,7 @@ with main:
|
|
254 |
if prompt := st.chat_input("Type a message!", max_chars=5000):
|
255 |
handle_user_input(prompt)
|
256 |
st.markdown("\n") #add some space for iphone users
|
|
|
257 |
|
258 |
with st.sidebar:
|
259 |
with st.container():
|
|
|
88 |
# f.write()
|
89 |
# st.write("Thank you for your feedback!")
|
90 |
|
|
|
|
|
|
|
91 |
# build our chain outside the working body so that its only instantiated once - simply pass it the chat history for chat completion
|
92 |
chain = ChainBuilder().build_chain()
|
93 |
|
|
|
251 |
if prompt := st.chat_input("Type a message!", max_chars=5000):
|
252 |
handle_user_input(prompt)
|
253 |
st.markdown("\n") #add some space for iphone users
|
254 |
+
st.button('Give Feedback on Last Response', on_click=feedback)
|
255 |
|
256 |
with st.sidebar:
|
257 |
with st.container():
|