kuroiikimono commited on
Commit
fbcbf55
·
verified ·
1 Parent(s): 4c01c6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -452,12 +452,12 @@ This translation app is useful for people who want to translate something or wan
452
  if type(all_text_orig) is str and type(
453
  all_text_done) is str:
454
 
455
- # intext_1 = f'<span style="color:DimGray;background:GhostWhite">{all_text_orig}</span>'
456
- # work_area1.markdown(intext_1, unsafe_allow_html=True)
457
- work_area1.write(f"{all_text_orig}")
458
- # intext_2 = f'<span style="color:LavenderBlush;background:LightGray">{all_text_done}</span>'
459
- work_area2.write(f"{all_text_done}")
460
- # work_area2.markdown(intext_2, unsafe_allow_html=True)
461
 
462
  with open(
463
  f"removefolder/{temp_dir}/work_{st.session_state.count}/reuseMarkdown.txt",
 
452
  if type(all_text_orig) is str and type(
453
  all_text_done) is str:
454
 
455
+ intext_1 = f'<span style="color:DimGray;background:GhostWhite">{all_text_orig}</span>'
456
+ work_area1.markdown(intext_1, unsafe_allow_html=True)
457
+ # work_area1.write(f"{all_text_orig}")
458
+ intext_2 = f'<span style="color:LavenderBlush;background:Gray">{all_text_done}</span>'
459
+ # work_area2.write(f"{all_text_done}")
460
+ work_area2.markdown(intext_2, unsafe_allow_html=True)
461
 
462
  with open(
463
  f"removefolder/{temp_dir}/work_{st.session_state.count}/reuseMarkdown.txt",