Spaces:
Sleeping
Sleeping
Kota Takahashi
commited on
Commit
·
8ac3f1e
1
Parent(s):
3c0c826
修正
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ if prompt := st.chat_input():
|
|
36 |
# AIによる回答
|
37 |
if st.session_state.messages[-1]["role"] != "assistant":
|
38 |
with st.chat_message("assistant"):
|
39 |
-
with st.spinner("
|
40 |
response = generate_response(st, prompt)
|
41 |
st.write(response)
|
42 |
message = {"role": "assistant", "content": response}
|
|
|
36 |
# AIによる回答
|
37 |
if st.session_state.messages[-1]["role"] != "assistant":
|
38 |
with st.chat_message("assistant"):
|
39 |
+
with st.spinner("考え中.."):
|
40 |
response = generate_response(st, prompt)
|
41 |
st.write(response)
|
42 |
message = {"role": "assistant", "content": response}
|