Copy: mention LinkedIn button in the ready message
Browse files
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(
|