PFEemp2024 commited on
Commit
99ab057
·
1 Parent(s): 8f90e1f

Fixing seperators highlitedText bug

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -299,7 +299,6 @@ if __name__ == "__main__":
299
  label="Character Editions of Adversarial Example Compared to the Natural Example",
300
  combine_adjacent=True,
301
  show_legend=True,
302
- theme=gr.themes.Base(),
303
  )
304
 
305
  restored_text_diff = gr.HighlightedText(
@@ -307,9 +306,8 @@ if __name__ == "__main__":
307
  combine_adjacent=True,
308
  show_legend=True,
309
  color_map={"+": "red", "-": "green"},
310
- theme=gr.themes.Base(),
311
  )
312
-
313
 
314
  gr.Markdown(
315
  "## <h2 align='center'>The Output of Reactive Perturbation Defocusing</p>"
 
299
  label="Character Editions of Adversarial Example Compared to the Natural Example",
300
  combine_adjacent=True,
301
  show_legend=True,
 
302
  )
303
 
304
  restored_text_diff = gr.HighlightedText(
 
306
  combine_adjacent=True,
307
  show_legend=True,
308
  color_map={"+": "red", "-": "green"},
 
309
  )
310
+ theme=gr.themes.Base()
311
 
312
  gr.Markdown(
313
  "## <h2 align='center'>The Output of Reactive Perturbation Defocusing</p>"