kuroiikimono commited on
Commit
eeba130
·
verified ·
1 Parent(s): 171f382

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
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
- work_area1 = st.empty()
377
- work_area2 = st.empty()
 
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
- with st.container():
512
- work_area1.empty()
513
- work_area2.empty()
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