Aye10032
commited on
Commit
·
96f6c87
1
Parent(s):
0a2577e
fix
Browse files
pages/AcademicTranslate.py
CHANGED
@@ -26,7 +26,9 @@ with st.sidebar:
|
|
26 |
if 'ac_translate_history' not in st.session_state:
|
27 |
st.session_state.ac_translate_history = []
|
28 |
|
29 |
-
|
|
|
|
|
30 |
for message in st.session_state.ac_translate_history:
|
31 |
icon = 'logo.png' if message['role'] != 'user' else None
|
32 |
with st.chat_message(message['role']):
|
|
|
26 |
if 'ac_translate_history' not in st.session_state:
|
27 |
st.session_state.ac_translate_history = []
|
28 |
|
29 |
+
chat_container = st.container(height=610, border=False)
|
30 |
+
|
31 |
+
with chat_container:
|
32 |
for message in st.session_state.ac_translate_history:
|
33 |
icon = 'logo.png' if message['role'] != 'user' else None
|
34 |
with st.chat_message(message['role']):
|