Spaces:
Runtime error
Runtime error
Kieran Fraser
commited on
Commit
·
64286ff
1
Parent(s):
ae16b45
removing github button reference
Browse filesSigned-off-by: Kieran Fraser <[email protected]>
app.py
CHANGED
|
@@ -229,11 +229,11 @@ def show_params(type):
|
|
| 229 |
return gr.Column(visible=True)
|
| 230 |
return gr.Column(visible=False)
|
| 231 |
|
| 232 |
-
head = f'''<script async defer src="https://buttons.github.io/buttons.js"></script>'''
|
| 233 |
|
| 234 |
# e.g. To use a local alternative theme: carbon_theme = Carbon()
|
| 235 |
carbon_theme = Carbon()
|
| 236 |
-
with gr.Blocks(css=css,
|
| 237 |
import art
|
| 238 |
text = art.__version__
|
| 239 |
|
|
@@ -257,7 +257,7 @@ with gr.Blocks(css=css, head=head, theme='Tshackelton/IBMPlex-DenseReadable') as
|
|
| 257 |
<a href="https://github.com/Trusted-AI/adversarial-robustness-toolbox/blob/main/notebooks/hugging_face_poisoning.ipynb"
|
| 258 |
target="_blank">notebook</a>. Also feel free to contribute and give our repo a ⭐.</i></p>''')
|
| 259 |
|
| 260 |
-
gr.Markdown(
|
| 261 |
<a style="margin-right: 20px;" class="github-button"
|
| 262 |
href="https://github.com/Trusted-AI/adversarial-robustness-toolbox"
|
| 263 |
data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large"
|
|
@@ -265,7 +265,7 @@ with gr.Blocks(css=css, head=head, theme='Tshackelton/IBMPlex-DenseReadable') as
|
|
| 265 |
<!-- Place this tag where you want the button to render. -->
|
| 266 |
<a class="github-button" href="https://github.com/Trusted-AI"
|
| 267 |
data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large" data-show-count="true"
|
| 268 |
-
aria-label="Follow @Trusted-AI on GitHub">Follow @Trusted-AI</a></div>'''
|
| 269 |
|
| 270 |
gr.Markdown('''<hr/>''')
|
| 271 |
|
|
|
|
| 229 |
return gr.Column(visible=True)
|
| 230 |
return gr.Column(visible=False)
|
| 231 |
|
| 232 |
+
# head = f'''<script async defer src="https://buttons.github.io/buttons.js"></script>'''
|
| 233 |
|
| 234 |
# e.g. To use a local alternative theme: carbon_theme = Carbon()
|
| 235 |
carbon_theme = Carbon()
|
| 236 |
+
with gr.Blocks(css=css, theme='Tshackelton/IBMPlex-DenseReadable') as demo:
|
| 237 |
import art
|
| 238 |
text = art.__version__
|
| 239 |
|
|
|
|
| 257 |
<a href="https://github.com/Trusted-AI/adversarial-robustness-toolbox/blob/main/notebooks/hugging_face_poisoning.ipynb"
|
| 258 |
target="_blank">notebook</a>. Also feel free to contribute and give our repo a ⭐.</i></p>''')
|
| 259 |
|
| 260 |
+
'''gr.Markdown(<div style="width: 100%; text-align: center;">
|
| 261 |
<a style="margin-right: 20px;" class="github-button"
|
| 262 |
href="https://github.com/Trusted-AI/adversarial-robustness-toolbox"
|
| 263 |
data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large"
|
|
|
|
| 265 |
<!-- Place this tag where you want the button to render. -->
|
| 266 |
<a class="github-button" href="https://github.com/Trusted-AI"
|
| 267 |
data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large" data-show-count="true"
|
| 268 |
+
aria-label="Follow @Trusted-AI on GitHub">Follow @Trusted-AI</a></div>)'''
|
| 269 |
|
| 270 |
gr.Markdown('''<hr/>''')
|
| 271 |
|