PFEemp2024 commited on
Commit
bf372ad
1 Parent(s): 4a1df2e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -199,7 +199,7 @@ if __name__ == "__main__":
199
  gr.Markdown("<h1 align='center'>Detection and Correction based on Word Importance Ranking (DCWIR) </h1>")
200
  gr.Markdown("<h2 align='center'>Clarifications</h2>")
201
  gr.Markdown("""
202
- - This demo has no mechanism to ensure the adversarial example will be correctly repaired by Rapid. The repair success rate is actually the performance reported in the paper.The user must know the resulted output for sake of demonstration.
203
  - The adversarial example and corrected adversarial example may be unnatural to read, while it is because the attackers usually generate unnatural perturbations.
204
  - All the proposed attacks are Black Box attack where the attacker has no access to the model parameters.
205
  """)
@@ -249,7 +249,7 @@ if __name__ == "__main__":
249
  placeholder="This is a message box to show any error messages.",
250
  )
251
  button_gen = gr.Button(
252
- "Generate an adversarial example to repair using Rapid (GPU: < 1 minute, CPU: 1-10 minutes)",
253
  variant="primary",
254
  )
255
  gpu_status_text = gr.Textbox(
 
199
  gr.Markdown("<h1 align='center'>Detection and Correction based on Word Importance Ranking (DCWIR) </h1>")
200
  gr.Markdown("<h2 align='center'>Clarifications</h2>")
201
  gr.Markdown("""
202
+ - This demo has no mechanism to ensure the adversarial example will be correctly repaired by DCWIR.
203
  - The adversarial example and corrected adversarial example may be unnatural to read, while it is because the attackers usually generate unnatural perturbations.
204
  - All the proposed attacks are Black Box attack where the attacker has no access to the model parameters.
205
  """)
 
249
  placeholder="This is a message box to show any error messages.",
250
  )
251
  button_gen = gr.Button(
252
+ "Generate an adversarial example to repair using DCWIR (GPU: < 1 minute, CPU: 1-10 minutes)",
253
  variant="primary",
254
  )
255
  gpu_status_text = gr.Textbox(