User1342 commited on
Commit
2509be2
·
1 Parent(s): f237017

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -308,13 +308,13 @@ def update_target_website():
308
  chatbot.value = chat_history
309
  chatbot.update(value=chat_history)
310
 
311
- twitter_auth_button.value = '<a href={}><img src="https://joinmastodon.org/logos/wordmark-black-text.svg" height="20" alt="Log In With Mastodon"></a><br>'.format(
312
  get_target_website())
313
  twitter_auth_button.update(
314
- value='<a href={}><img src="https://joinmastodon.org/logos/wordmark-black-text.svg" height="20" alt="Log In With mastodon "></a><br>'.format(
315
  get_target_website()))
316
 
317
- return '<a href={}><img src="https://joinmastodon.org/logos/wordmark-black-text.svg" height="20" alt="Log In With mastodon "></a><br>'.format(
318
  get_target_website())
319
 
320
 
@@ -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://joinmastodon.org/logos/wordmark-black-text.svg" height="20" alt="Log In With Mastodon"></a><br>'.format(
370
  get_target_website())).style(
371
  )
372
  with gr.Row().style(equal_height=True):
 
308
  chatbot.value = chat_history
309
  chatbot.update(value=chat_history)
310
 
311
+ twitter_auth_button.value = '<BR><a href={}><img src="https://joinmastodon.org/logos/wordmark-black-text.svg" height="10" alt="Log In With Mastodon"></a><br>'.format(
312
  get_target_website())
313
  twitter_auth_button.update(
314
+ value='<BR><a href={}><img src="https://joinmastodon.org/logos/wordmark-black-text.svg" height="10" alt="Log In With mastodon "></a><br>'.format(
315
  get_target_website()))
316
 
317
+ return '<BR><a href={}><img src="https://joinmastodon.org/logos/wordmark-black-text.svg" height="10" alt="Log In With mastodon "></a><br>'.format(
318
  get_target_website())
319
 
320
 
 
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='<BR><a href={}><img src="https://joinmastodon.org/logos/wordmark-black-text.svg" height="10" alt="Log In With Mastodon"></a><br>'.format(
370
  get_target_website())).style(
371
  )
372
  with gr.Row().style(equal_height=True):