Kieran Fraser commited on
Commit
97afb36
1 Parent(s): 2f9e420

Removing github buttons

Browse files

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

Files changed (1) hide show
  1. app.py +3 -14
app.py CHANGED
@@ -196,13 +196,11 @@ def show_params(type):
196
  '''
197
  if type!="Example":
198
  return gr.Column(visible=True)
199
- return gr.Column(visible=False)
200
-
201
- head = '''<script async defer src="https://buttons.github.io/buttons.js"></script>'''
202
 
203
  # e.g. To use a local alternative theme: carbon_theme = Carbon()
204
  carbon_theme = Carbon()
205
- with gr.Blocks(css=css, head=head, theme='Tshackelton/IBMPlex-DenseReadable') as demo:
206
  import art
207
  text = art.__version__
208
 
@@ -225,16 +223,7 @@ with gr.Blocks(css=css, head=head, theme='Tshackelton/IBMPlex-DenseReadable') as
225
  target="blank_">here</a>. To dive further into evasion attacks with Hugging Face and ART, check out our
226
  <a href="https://github.com/Trusted-AI/adversarial-robustness-toolbox/blob/main/notebooks/hugging_face_evasion.ipynb"
227
  target="_blank">notebook</a>. Also feel free to contribute and give our repo a ⭐.</i></p>''')
228
-
229
- gr.Markdown('''<div style="width: 100%; text-align: center;">
230
- <a style="margin-right: 20px;" class="github-button"
231
- href="https://github.com/Trusted-AI/adversarial-robustness-toolbox"
232
- data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large"
233
- data-show-count="true" aria-label="Star Trusted-AI/adversarial-robustness-toolbox on GitHub">Star</a>
234
- <!-- Place this tag where you want the button to render. -->
235
- <a class="github-button" href="https://github.com/Trusted-AI"
236
- data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large" data-show-count="true"
237
- aria-label="Follow @Trusted-AI on GitHub">Follow @Trusted-AI</a></div>''')
238
  gr.Markdown('''<hr/>''')
239
 
240
 
 
196
  '''
197
  if type!="Example":
198
  return gr.Column(visible=True)
199
+ return gr.Column(visible=False)
 
 
200
 
201
  # e.g. To use a local alternative theme: carbon_theme = Carbon()
202
  carbon_theme = Carbon()
203
+ with gr.Blocks(css=css, theme='Tshackelton/IBMPlex-DenseReadable') as demo:
204
  import art
205
  text = art.__version__
206
 
 
223
  target="blank_">here</a>. To dive further into evasion attacks with Hugging Face and ART, check out our
224
  <a href="https://github.com/Trusted-AI/adversarial-robustness-toolbox/blob/main/notebooks/hugging_face_evasion.ipynb"
225
  target="_blank">notebook</a>. Also feel free to contribute and give our repo a ⭐.</i></p>''')
226
+
 
 
 
 
 
 
 
 
 
227
  gr.Markdown('''<hr/>''')
228
 
229