Update app.py
Browse files
app.py
CHANGED
|
@@ -15,6 +15,7 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
|
| 15 |
class BasicAgent:
|
| 16 |
def __init__(self):
|
| 17 |
print("Initializing Smolagent...")
|
|
|
|
| 18 |
|
| 19 |
@tool
|
| 20 |
def fetch_task_file(task_id: str) -> str:
|
|
|
|
| 15 |
class BasicAgent:
|
| 16 |
def __init__(self):
|
| 17 |
print("Initializing Smolagent...")
|
| 18 |
+
print("HF_TOKEN present:", bool(os.environ.get("hf_token")))
|
| 19 |
|
| 20 |
@tool
|
| 21 |
def fetch_task_file(task_id: str) -> str:
|