Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -217,7 +217,7 @@ def certification(hf_username):
|
|
| 217 |
df = df[['passed', 'unit', 'task', 'baseline_metric', 'best_result', 'best_model_id']]
|
| 218 |
return df
|
| 219 |
|
| 220 |
-
|
| 221 |
gr.Markdown("""
|
| 222 |
# π Check your progress in the Audio Course π
|
| 223 |
- To get a certificate of completion, you must **pass 3 out of 4 assignments**.
|
|
@@ -237,4 +237,4 @@ def certification(hf_username):
|
|
| 237 |
check_progress_button.click(check_progress)
|
| 238 |
output = gr.Textbox(value="")
|
| 239 |
|
| 240 |
-
|
|
|
|
| 217 |
df = df[['passed', 'unit', 'task', 'baseline_metric', 'best_result', 'best_model_id']]
|
| 218 |
return df
|
| 219 |
|
| 220 |
+
with gr.Blocks() as demo:
|
| 221 |
gr.Markdown("""
|
| 222 |
# π Check your progress in the Audio Course π
|
| 223 |
- To get a certificate of completion, you must **pass 3 out of 4 assignments**.
|
|
|
|
| 237 |
check_progress_button.click(check_progress)
|
| 238 |
output = gr.Textbox(value="")
|
| 239 |
|
| 240 |
+
demo.launch()
|