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

Fixing seperators highlitedText bug

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