Aye10032
commited on
Commit
·
406145a
1
Parent(s):
f9954a5
update
Browse files
pages/AcademicTranslate.py
CHANGED
@@ -46,8 +46,9 @@ with chat_container:
|
|
46 |
with st.chat_message(message['role']):
|
47 |
st.markdown(message['content'])
|
48 |
|
49 |
-
|
50 |
-
st.
|
|
|
51 |
|
52 |
|
53 |
def ac_translate(original_text: str, is_en2zh: bool):
|
|
|
46 |
with st.chat_message(message['role']):
|
47 |
st.markdown(message['content'])
|
48 |
|
49 |
+
if st.session_state.ac_code_text:
|
50 |
+
with st.container(height=120, border=False):
|
51 |
+
st.code(st.session_state.ac_code_text, 'markdown')
|
52 |
|
53 |
|
54 |
def ac_translate(original_text: str, is_en2zh: bool):
|