Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
burtenshaw
commited on
Commit
·
dabc1e3
1
Parent(s):
0594f52
expose course title
Browse files
app.py
CHANGED
|
@@ -12,6 +12,7 @@ from criteria import check_certification as check_certification_criteria
|
|
| 12 |
from org import join_finishers_org
|
| 13 |
|
| 14 |
CERTIFYING_ORG_LINKEDIN_ID = os.getenv("CERTIFYING_ORG_LINKEDIN_ID", "000000")
|
|
|
|
| 15 |
|
| 16 |
|
| 17 |
def download_profile_picture(profile_url: str):
|
|
@@ -79,7 +80,7 @@ def create_linkedin_button(username: str, cert_url: str | None) -> str:
|
|
| 79 |
|
| 80 |
linkedin_params = {
|
| 81 |
"startTask": "CERTIFICATION_NAME",
|
| 82 |
-
"name":
|
| 83 |
"organizationName": "Hugging Face",
|
| 84 |
"organizationId": CERTIFYING_ORG_LINKEDIN_ID,
|
| 85 |
"organizationIdissueYear": str(current_year),
|
|
|
|
| 12 |
from org import join_finishers_org
|
| 13 |
|
| 14 |
CERTIFYING_ORG_LINKEDIN_ID = os.getenv("CERTIFYING_ORG_LINKEDIN_ID", "000000")
|
| 15 |
+
COURSE_TITLE = os.getenv("COURSE_TITLE", "AI Agents Fundamentals")
|
| 16 |
|
| 17 |
|
| 18 |
def download_profile_picture(profile_url: str):
|
|
|
|
| 80 |
|
| 81 |
linkedin_params = {
|
| 82 |
"startTask": "CERTIFICATION_NAME",
|
| 83 |
+
"name": COURSE_TITLE,
|
| 84 |
"organizationName": "Hugging Face",
|
| 85 |
"organizationId": CERTIFYING_ORG_LINKEDIN_ID,
|
| 86 |
"organizationIdissueYear": str(current_year),
|