Aye10032
commited on
Commit
·
1ea26ce
1
Parent(s):
fc71734
update
Browse files
pages/AcademicTranslate.py
CHANGED
@@ -68,8 +68,6 @@ def ac_translate(original_text: str, is_en2zh: bool):
|
|
68 |
|
69 |
|
70 |
if prompt := st.chat_input():
|
71 |
-
st.session_state.ac_translate_history = []
|
72 |
-
|
73 |
logger.info(f'[translate]: {prompt}')
|
74 |
|
75 |
chat_container.chat_message("human").write(prompt)
|
|
|
68 |
|
69 |
|
70 |
if prompt := st.chat_input():
|
|
|
|
|
71 |
logger.info(f'[translate]: {prompt}')
|
72 |
|
73 |
chat_container.chat_message("human").write(prompt)
|