Spaces:
Runtime error
Runtime error
Commit
·
ed1ab29
1
Parent(s):
3ee882a
Update app.py
Browse files
app.py
CHANGED
@@ -185,7 +185,7 @@ demo = gr.Interface(
|
|
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 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.Slider(value=15, minimum=0, maximum=255, step=1, label="Epsilon"),
|
190 |
],
|
191 |
outputs=[
|
|
|
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 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", value="FGSM"),
|
189 |
gr.Slider(value=15, minimum=0, maximum=255, step=1, label="Epsilon"),
|
190 |
],
|
191 |
outputs=[
|