Spaces:
Running
Running
kuroiikimono
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -373,8 +373,9 @@ This translation app is useful for people who want to translate something or wan
|
|
373 |
|
374 |
st.session_state.target_lang = to
|
375 |
|
376 |
-
|
377 |
-
|
|
|
378 |
#--------------------------------------
|
379 |
|
380 |
for index, page in enumerate(book_data):
|
@@ -508,9 +509,9 @@ This translation app is useful for people who want to translate something or wan
|
|
508 |
f"removefolder/{temp_dir}/work_{st.session_state.count}")
|
509 |
|
510 |
st.balloons()
|
511 |
-
|
512 |
-
|
513 |
-
|
514 |
|
515 |
#--------------------------------------
|
516 |
|
|
|
373 |
|
374 |
st.session_state.target_lang = to
|
375 |
|
376 |
+
with st.container():
|
377 |
+
work_area1 = st.empty()
|
378 |
+
work_area2 = st.empty()
|
379 |
#--------------------------------------
|
380 |
|
381 |
for index, page in enumerate(book_data):
|
|
|
509 |
f"removefolder/{temp_dir}/work_{st.session_state.count}")
|
510 |
|
511 |
st.balloons()
|
512 |
+
|
513 |
+
work_area1.empty()
|
514 |
+
work_area2.empty()
|
515 |
|
516 |
#--------------------------------------
|
517 |
|