Spaces:
Running
Running
ghengx
commited on
Commit
·
d016e8a
1
Parent(s):
9f5a9cc
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ if "messages" not in st.session_state:
|
|
28 |
st.session_state.messages = []
|
29 |
|
30 |
if "overlay" not in st.session_state:
|
31 |
-
st.session_state.overlay = 'base'
|
32 |
|
33 |
with col1:
|
34 |
messages_box = st.container(height=500)
|
@@ -48,5 +48,5 @@ with col1:
|
|
48 |
st.session_state.messages.append({"role": "assistant", "content": response})
|
49 |
|
50 |
with col2:
|
51 |
-
|
52 |
-
|
|
|
28 |
st.session_state.messages = []
|
29 |
|
30 |
if "overlay" not in st.session_state:
|
31 |
+
st.session_state.overlay = Image.open(f'agent_function/base.png')
|
32 |
|
33 |
with col1:
|
34 |
messages_box = st.container(height=500)
|
|
|
48 |
st.session_state.messages.append({"role": "assistant", "content": response})
|
49 |
|
50 |
with col2:
|
51 |
+
with st.spinner():
|
52 |
+
st.image(st.session_state.overlay)
|