Update app_chat.py
Browse files- app_chat.py +3 -1
app_chat.py
CHANGED
@@ -48,7 +48,9 @@ def app_chat(agent_config):
|
|
48 |
# Handle submission with the selected inference URL
|
49 |
#app_agent_config()
|
50 |
|
51 |
-
|
|
|
|
|
52 |
|
53 |
with st.chat_message("assistant"):
|
54 |
if response is None:
|
|
|
48 |
# Handle submission with the selected inference URL
|
49 |
#app_agent_config()
|
50 |
|
51 |
+
with st.spinner('Please stand by ...'):
|
52 |
+
|
53 |
+
response = handle_submission(user_message, selected_tools, agent_config.url_endpoint, agent_config.document, agent_config.image, agent_config.context)
|
54 |
|
55 |
with st.chat_message("assistant"):
|
56 |
if response is None:
|