Kieran Fraser
commited on
Commit
•
2fde340
1
Parent(s):
4cfbe7f
Remove css
Browse filesSigned-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>
app.py
CHANGED
@@ -47,7 +47,6 @@ css = """
|
|
47 |
.cust-width { min-width: 250px !important;}
|
48 |
.eval-bt { background-color: #3b74f4; color: white; }
|
49 |
input[type="number"].svelte-3iwdd6 { padding-top: 20px; padding-bottom: 20px;}
|
50 |
-
.space-iframe { height: 3500px !important; }
|
51 |
"""
|
52 |
|
53 |
def sample_CIFAR10():
|
@@ -355,7 +354,7 @@ with gr.Blocks(css=css, theme='Tshackelton/IBMPlex-DenseReadable') as demo:
|
|
355 |
|
356 |
gr.Markdown('''<br/>''')
|
357 |
|
358 |
-
with gr.Accordion("Adversarial Patch", open=
|
359 |
gr.Markdown('''This attack optimizes pixels in a patch which can be overlayed on an image, causing a model to misclassify. See more
|
360 |
<a href="https://github.com/Trusted-AI/adversarial-robustness-toolbox"
|
361 |
target="blank_">here</a>.''')
|
|
|
47 |
.cust-width { min-width: 250px !important;}
|
48 |
.eval-bt { background-color: #3b74f4; color: white; }
|
49 |
input[type="number"].svelte-3iwdd6 { padding-top: 20px; padding-bottom: 20px;}
|
|
|
50 |
"""
|
51 |
|
52 |
def sample_CIFAR10():
|
|
|
354 |
|
355 |
gr.Markdown('''<br/>''')
|
356 |
|
357 |
+
with gr.Accordion("Adversarial Patch", open=False, elem_classes="custom-text"):
|
358 |
gr.Markdown('''This attack optimizes pixels in a patch which can be overlayed on an image, causing a model to misclassify. See more
|
359 |
<a href="https://github.com/Trusted-AI/adversarial-robustness-toolbox"
|
360 |
target="blank_">here</a>.''')
|