Francesco Laiti
commited on
Commit
·
1c3bf50
1
Parent(s):
d969f4b
Update interface
Browse files
README.md
CHANGED
|
@@ -4,7 +4,7 @@ emoji: 👮♂️
|
|
| 4 |
colorFrom: red
|
| 5 |
colorTo: blue
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version: 5.
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
python_version: 3.12.9
|
|
|
|
| 4 |
colorFrom: red
|
| 5 |
colorTo: blue
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 5.27
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
python_version: 3.12.9
|
app.py
CHANGED
|
@@ -144,13 +144,12 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 144 |
|
| 145 |
# --- Build Gradio Interface using Blocks ---
|
| 146 |
with gr.Blocks() as demo:
|
| 147 |
-
gr.Markdown("#
|
| 148 |
gr.Markdown(
|
| 149 |
"""
|
| 150 |
**Instructions:**
|
| 151 |
|
| 152 |
-
1.
|
| 153 |
-
2. Log in to your Hugging Face account using the button below. This uses your HF username for submission.
|
| 154 |
3. Click 'Run Evaluation & Submit All Answers' to fetch questions, run your agent, submit answers, and see the score.
|
| 155 |
|
| 156 |
---
|
|
@@ -161,7 +160,7 @@ with gr.Blocks() as demo:
|
|
| 161 |
)
|
| 162 |
|
| 163 |
gr.LoginButton()
|
| 164 |
-
|
| 165 |
run_button = gr.Button("Run Evaluation & Submit All Answers")
|
| 166 |
|
| 167 |
status_output = gr.Textbox(label="Run Status / Submission Result", lines=5, interactive=False)
|
|
|
|
| 144 |
|
| 145 |
# --- Build Gradio Interface using Blocks ---
|
| 146 |
with gr.Blocks() as demo:
|
| 147 |
+
gr.Markdown("# Final Assignment for the HF Agent Course")
|
| 148 |
gr.Markdown(
|
| 149 |
"""
|
| 150 |
**Instructions:**
|
| 151 |
|
| 152 |
+
1. Log in to your Hugging Face account using the button below. This uses your HF username for submission.
|
|
|
|
| 153 |
3. Click 'Run Evaluation & Submit All Answers' to fetch questions, run your agent, submit answers, and see the score.
|
| 154 |
|
| 155 |
---
|
|
|
|
| 160 |
)
|
| 161 |
|
| 162 |
gr.LoginButton()
|
| 163 |
+
|
| 164 |
run_button = gr.Button("Run Evaluation & Submit All Answers")
|
| 165 |
|
| 166 |
status_output = gr.Textbox(label="Run Status / Submission Result", lines=5, interactive=False)
|