Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -198,21 +198,18 @@ def create_gradio_interface():
|
|
| 198 |
"""Create Gradio web interface with OAuth login."""
|
| 199 |
with gr.Blocks() as demo:
|
| 200 |
gr.Markdown("""
|
| 201 |
-
# Get your
|
| 202 |
The certification process is completely free.
|
| 203 |
|
| 204 |
-
To
|
| 205 |
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
Don't hesitate to share your certificate on Twitter
|
| 209 |
-
(tag @huggingface) and on Linkedin.
|
| 210 |
""")
|
| 211 |
|
| 212 |
# Add login button
|
| 213 |
gr.LoginButton()
|
| 214 |
|
| 215 |
-
check_progress_button = gr.Button(value="
|
| 216 |
|
| 217 |
output_text = gr.Markdown(visible=False, sanitize_html=False)
|
| 218 |
output_img = gr.Image(type="pil", visible=False)
|
|
|
|
| 198 |
"""Create Gradio web interface with OAuth login."""
|
| 199 |
with gr.Blocks() as demo:
|
| 200 |
gr.Markdown("""
|
| 201 |
+
# Get your Certificate of Fundamentals of Agents 🎓
|
| 202 |
The certification process is completely free.
|
| 203 |
|
| 204 |
+
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**.
|
| 205 |
|
| 206 |
+
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.
|
|
|
|
|
|
|
|
|
|
| 207 |
""")
|
| 208 |
|
| 209 |
# Add login button
|
| 210 |
gr.LoginButton()
|
| 211 |
|
| 212 |
+
check_progress_button = gr.Button(value="Get My Certificate")
|
| 213 |
|
| 214 |
output_text = gr.Markdown(visible=False, sanitize_html=False)
|
| 215 |
output_img = gr.Image(type="pil", visible=False)
|