abidlabs HF Staff commited on
Commit
1971f1d
Β·
verified Β·
1 Parent(s): 0157e15

Copy: mention LinkedIn button in the ready message

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -114,7 +114,7 @@ def create_certificate(display_name, profile: gr.OAuthProfile | None):
114
  btn = (f'<a href="{linkedin_url(name)}" target="_blank" '
115
  f'style="display:inline-block;background:#0a66c2;color:#fff;font-weight:700;'
116
  f'padding:10px 22px;border-radius:8px;text-decoration:none">Add to LinkedIn profile β†’</a>')
117
- return image_path, "πŸŽ‰ Your certificate is ready β€” download it below.", gr.update(value=btn, visible=True)
118
 
119
 
120
  THEME = gr.themes.Base(
 
114
  btn = (f'<a href="{linkedin_url(name)}" target="_blank" '
115
  f'style="display:inline-block;background:#0a66c2;color:#fff;font-weight:700;'
116
  f'padding:10px 22px;border-radius:8px;text-decoration:none">Add to LinkedIn profile β†’</a>')
117
+ return image_path, "πŸŽ‰ Your certificate is ready β€” download it or add it to your LinkedIn profile below.", gr.update(value=btn, visible=True)
118
 
119
 
120
  THEME = gr.themes.Base(