User1342 commited on
Commit
af9dd11
·
1 Parent(s): ae1603a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -366,7 +366,7 @@ with block:
366
  text_input = gr.Text(label="Input", visible=False).style()
367
  text_output = gr.Text(label="Output", visible=False).style()
368
  html_button = twitter_auth_button = gr.HTML(
369
- value='<a href={}><img src="https://cdn.cms-twdigitalassets.com/content/dam/developer-twitter/auth-docs/sign-in-with-twitter-gray.png.twimg.1920.png" alt="Log In With Twitter"></a><br>'.format(
370
  get_target_website())).style(
371
  )
372
  with gr.Row().style(equal_height=True):
@@ -375,7 +375,7 @@ with block:
375
 
376
  slider = gr.Slider(value=30, interactive=True, label="Threshold Confidence Tolerance")
377
 
378
- chatbot = gr.Chatbot(label="Watchtower Output", value=[('Welcome to Watchtower.', 'Log in via Twitter and configure your blocking options above.')]).style(color_map=["grey","purple"])
379
 
380
  btn = gr.Button("Run WatchTower").style(full_width=True).style()
381
  btn.click(fn=button_pressed, inputs=[slider, url_params],
@@ -383,7 +383,7 @@ with block:
383
  gr.Markdown(
384
  """___
385
  <p style='text-align: center'>
386
- Created by <a href="https://twitter.com/_JamesStevenson" target="_blank"</a> James Stevenson
387
  <br/>
388
  </p>"""
389
  )
 
366
  text_input = gr.Text(label="Input", visible=False).style()
367
  text_output = gr.Text(label="Output", visible=False).style()
368
  html_button = twitter_auth_button = gr.HTML(
369
+ value='<a href={}><img src="https://seeklogo.com/images/M/mastodon-logo-AAA76BE2CA-seeklogo.com.png" alt="Log In With Mastodon"></a><br>'.format(
370
  get_target_website())).style(
371
  )
372
  with gr.Row().style(equal_height=True):
 
375
 
376
  slider = gr.Slider(value=30, interactive=True, label="Threshold Confidence Tolerance")
377
 
378
+ chatbot = gr.Chatbot(label="Watchtower Output", value=[('Welcome to Watchtower.', 'Log in via Mastodon and configure your blocking options above.')]).style(color_map=["grey","purple"])
379
 
380
  btn = gr.Button("Run WatchTower").style(full_width=True).style()
381
  btn.click(fn=button_pressed, inputs=[slider, url_params],
 
383
  gr.Markdown(
384
  """___
385
  <p style='text-align: center'>
386
+ Created by <a href="https://JamesStevenson.me" target="_blank"</a> James Stevenson
387
  <br/>
388
  </p>"""
389
  )