Spaces:
Runtime error
Runtime error
Kieran Fraser
commited on
Commit
•
4a7124f
1
Parent(s):
b47d208
adding cta
Browse filesSigned-off-by: Kieran Fraser <[email protected]>
app.py
CHANGED
@@ -346,7 +346,10 @@ with gr.Blocks(css=css, theme='Tshackelton/IBMPlex-DenseReadable') as demo:
|
|
346 |
eval_btn_patch.click(clf_poison_evaluate, inputs=[attack, trigger_image, target_class],
|
347 |
outputs=[clean_gallery, poison_gallery, clean_accuracy, poison_success])
|
348 |
|
349 |
-
|
|
|
|
|
|
|
350 |
gr.Markdown('''<br/>''')
|
351 |
|
352 |
if __name__ == "__main__":
|
|
|
346 |
eval_btn_patch.click(clf_poison_evaluate, inputs=[attack, trigger_image, target_class],
|
347 |
outputs=[clean_gallery, poison_gallery, clean_accuracy, poison_success])
|
348 |
|
349 |
+
gr.Markdown('''<br/>''')
|
350 |
+
gr.Markdown('''<p style="font-size: 18px; text-align: center;"><i>☠️ Want to try out a poisoning attack with your own model and data?
|
351 |
+
Run our <a href="https://github.com/Trusted-AI/adversarial-robustness-toolbox/blob/main/notebooks/hugging_face_poisoning.ipynb"
|
352 |
+
target="_blank">notebooks</a>!</i></p>''')
|
353 |
gr.Markdown('''<br/>''')
|
354 |
|
355 |
if __name__ == "__main__":
|