Spaces:
Paused
Paused
Carlosito16
commited on
Commit
•
6feca5f
1
Parent(s):
89ca77a
change on_chagne function
Browse files
app.py
CHANGED
@@ -249,7 +249,7 @@ st.write("""
|
|
249 |
for chat in st.session_state.chat_history:
|
250 |
st_message(**chat)
|
251 |
|
252 |
-
query_input = st.text_input(label= 'What would you like to know about AIT?' , key = 'my_text_input', on_change=
|
253 |
# generate_button = st.button(label = 'Ask question!')
|
254 |
|
255 |
# if generate_button:
|
|
|
249 |
for chat in st.session_state.chat_history:
|
250 |
st_message(**chat)
|
251 |
|
252 |
+
query_input = st.text_input(label= 'What would you like to know about AIT?' , key = 'my_text_input', on_change= new_retrieve_answer )
|
253 |
# generate_button = st.button(label = 'Ask question!')
|
254 |
|
255 |
# if generate_button:
|