burtenshaw commited on
Commit
45cb0ff
·
2 Parent(s): 63aa52f e9dc5d4

Merge branch 'main' of https://huggingface.co/spaces/agents-course/unit1-certification-app

Browse files
Files changed (1) hide show
  1. app.py +5 -8
app.py CHANGED
@@ -185,25 +185,22 @@ def check_certification(token: gr.OAuthToken | None, profile: gr.OAuthProfile |
185
 
186
  with gr.Blocks() as demo:
187
  gr.Markdown("""
188
- # Get your Hugging Face Course Certificate 🎓
189
  The certification process is completely free.
190
 
191
- To receive your certificate, you need to **pass 80% of the quiz**.
192
 
193
- There's **no deadlines, the course is self-paced**.
194
-
195
- Don't hesitate to share your certificate on Twitter
196
- (tag @huggingface) and on Linkedin.
197
  """)
198
 
199
  # Add login button
200
  gr.LoginButton()
201
 
202
- check_progress_button = gr.Button(value="Check My Progress")
203
 
204
  output_text = gr.Markdown(visible=False, sanitize_html=False)
205
  output_img = gr.Image(type="pil", visible=False)
206
-
207
  check_progress_button.click(
208
  fn=check_certification,
209
  outputs=[output_text, output_img],
 
185
 
186
  with gr.Blocks() as demo:
187
  gr.Markdown("""
188
+ # Get your Certificate of Fundamentals of Agents 🎓
189
  The certification process is completely free.
190
 
191
+ To earn this certificate, you need to complete <a href="https://hf.co/learn/agents-course/unit1/introduction" alt="Agent Course Unit 1"/>Unit 1 of the Agents Course</a> and **pass 80% of the final quiz**.
192
 
193
+ Once you receive your certificate, don’t hesitate to share it on X (and tag @huggingface) as well as on LinkedIn so that we can congratulate you.
 
 
 
194
  """)
195
 
196
  # Add login button
197
  gr.LoginButton()
198
 
199
+ check_progress_button = gr.Button(value="Get My Certificate")
200
 
201
  output_text = gr.Markdown(visible=False, sanitize_html=False)
202
  output_img = gr.Image(type="pil", visible=False)
203
+
204
  check_progress_button.click(
205
  fn=check_certification,
206
  outputs=[output_text, output_img],