burtenshaw HF Staff commited on
Commit
f2f4673
·
verified ·
1 Parent(s): 7636b82

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -171,7 +171,7 @@ async def upload_certificate_to_hub(username: str, certificate_img) -> str:
171
 
172
  # Construct the URL to the image
173
  cert_url = (
174
- f"https://huggingface.co/datasets/{CERTIFICATE_DATASET_REPO_ID/"
175
  f"resolve/main/certificates/{username}/{date.today()}.png"
176
  )
177
 
@@ -231,7 +231,7 @@ async def push_results_to_hub(
231
 
232
  if cert_url is None:
233
  gr.Warning("Certificate upload failed, but you still passed!")
234
- cert_url = "https://huggingface.co/mcp-course"
235
 
236
  # Create LinkedIn button
237
  linkedin_button = create_linkedin_button(profile.username, cert_url)
 
171
 
172
  # Construct the URL to the image
173
  cert_url = (
174
+ f"https://huggingface.co/datasets/{CERTIFICATE_DATASET_REPO_ID}/"
175
  f"resolve/main/certificates/{username}/{date.today()}.png"
176
  )
177
 
 
231
 
232
  if cert_url is None:
233
  gr.Warning("Certificate upload failed, but you still passed!")
234
+ cert_url = "https://huggingface.co/smol-course"
235
 
236
  # Create LinkedIn button
237
  linkedin_button = create_linkedin_button(profile.username, cert_url)