Kieran Fraser commited on
Commit
25413fe
1 Parent(s): 9164106

Updated sliders.

Browse files

Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -437,8 +437,8 @@ with gr.Blocks(css=css, theme=gr.themes.Base()) as demo:
437
  with gr.Column(scale=1):
438
  attack = gr.Textbox(visible=True, value="PGD", label="Attack", interactive=False)
439
  max_iter = gr.Slider(minimum=1, maximum=1000, label="Max iterations", value=10)
440
- eps = gr.Slider(minimum=0.0001, maximum=255, label="Epslion", value=8/255)
441
- eps_steps = gr.Slider(minimum=0.0001, maximum=255, label="Epsilon steps", value=1/255)
442
  bt_eval_pgd = gr.Button("Evaluate")
443
 
444
  # Evaluation Output. Visualisations of success/failures of running evaluation attacks.
 
437
  with gr.Column(scale=1):
438
  attack = gr.Textbox(visible=True, value="PGD", label="Attack", interactive=False)
439
  max_iter = gr.Slider(minimum=1, maximum=1000, label="Max iterations", value=10)
440
+ eps = gr.Slider(minimum=0.0001, maximum=1, label="Epslion", value=8/255)
441
+ eps_steps = gr.Slider(minimum=0.0001, maximum=1, label="Epsilon steps", value=1/255)
442
  bt_eval_pgd = gr.Button("Evaluate")
443
 
444
  # Evaluation Output. Visualisations of success/failures of running evaluation attacks.