We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f75a25 commit b8eb028Copy full SHA for b8eb028
scenarios/AksOpenAiTerraform/magic8ball/app.py
@@ -58,7 +58,8 @@ def disable_chat():
58
# Print Response
59
with st.chat_message("assistant"):
60
messages = st.session_state.messages
61
- response = st.write_stream(ask_openai_api(messages))
+ with st.spinner("Loading..."):
62
+ response = st.write_stream(ask_openai_api(messages))
63
st.session_state.messages.append({"role": "assistant", "content": response})
64
65
# Re-enable textbox
0 commit comments