Aabbhishekk
commited on
Commit
•
4cf149c
1
Parent(s):
6d70789
Update app.py
Browse files
app.py
CHANGED
@@ -152,8 +152,9 @@ def main():
|
|
152 |
# output container
|
153 |
output_container = st.empty()
|
154 |
if submit_clicked:
|
155 |
-
st_callback = StreamlitCallbackHandler(st.container())
|
156 |
-
response = agent.run(user_input,callbacks = [st_callback])
|
|
|
157 |
st.write(response)
|
158 |
# output_container = output_container.container()
|
159 |
# output_container.chat_message("user").write(user_input)
|
|
|
152 |
# output container
|
153 |
output_container = st.empty()
|
154 |
if submit_clicked:
|
155 |
+
# st_callback = StreamlitCallbackHandler(st.container())
|
156 |
+
# response = agent.run(user_input,callbacks = [st_callback])
|
157 |
+
response = agent.run(user_input)
|
158 |
st.write(response)
|
159 |
# output_container = output_container.container()
|
160 |
# output_container.chat_message("user").write(user_input)
|