dalexanderch commited on
Commit
23e254b
·
1 Parent(s): 1fcc608

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -184,8 +184,8 @@ demo = gr.Interface(
184
  title="Adversarial attack demonstration",
185
  description="A random image from the chosen dataset will be perturbated with the chosen attack type and both the original image and the perturbated image will be displayed.The Epsilon parameter is an integer in the range [0, 255] that controls the aggressiveness of the attack.",
186
  inputs=[
187
- gr.Radio(choices=["MNIST", "CIFAR10"], label="Pick a dataset"),
188
- gr.Radio(choices=["FGSM", "I-FGSM", "I-LL-FGSM"], label="Pick an attack"),
189
  gr.Number(value=15, label="Epsilon"),
190
  ],
191
  outputs=[
 
184
  title="Adversarial attack demonstration",
185
  description="A random image from the chosen dataset will be perturbated with the chosen attack type and both the original image and the perturbated image will be displayed.The Epsilon parameter is an integer in the range [0, 255] that controls the aggressiveness of the attack.",
186
  inputs=[
187
+ gr.Radio(choices=["MNIST", "CIFAR10"], label="Dataset"),
188
+ gr.Radio(choices=["FGSM", "I-FGSM", "I-LL-FGSM"], label="Attack"),
189
  gr.Number(value=15, label="Epsilon"),
190
  ],
191
  outputs=[