Spaces:
Runtime error
Runtime error
Update utils.py
Browse files
utils.py
CHANGED
@@ -8,19 +8,20 @@ BASE_URL = "https://agents-course-unit4-scoring.hf.space"
|
|
8 |
|
9 |
|
10 |
|
11 |
-
|
|
|
|
|
12 |
"""
|
13 |
-
|
14 |
"""
|
15 |
-
return os.environ.get("
|
16 |
|
17 |
-
|
18 |
-
def get_code_link() -> str:
|
19 |
"""
|
20 |
-
|
21 |
"""
|
22 |
-
|
23 |
-
|
24 |
|
25 |
def download_task_file(task_id, save_dir="downloads"):
|
26 |
"""
|
|
|
8 |
|
9 |
|
10 |
|
11 |
+
import os
|
12 |
+
|
13 |
+
def get_hf_username():
|
14 |
"""
|
15 |
+
Gets Hugging Face username for submission.
|
16 |
"""
|
17 |
+
return os.environ.get("HF_USERNAME", "shrutikaP8497") # replace with your HF username
|
18 |
|
19 |
+
def get_code_link():
|
|
|
20 |
"""
|
21 |
+
Returns the public URL to the Hugging Face Space code.
|
22 |
"""
|
23 |
+
return "https://huggingface.co/spaces/shrutikaP8497/gaia_agent_code"
|
24 |
+
|
25 |
|
26 |
def download_task_file(task_id, save_dir="downloads"):
|
27 |
"""
|