Spaces:
Running
Running
Update agent.py
Browse files
agent.py
CHANGED
@@ -461,8 +461,9 @@ tools = [wiki_tool, calc_tool, file_tool, web_tool, arvix_tool, youtube_tool, vi
|
|
461 |
|
462 |
|
463 |
# Get the Hugging Face API token from the environment variable
|
464 |
-
# Load Hugging Face token
|
465 |
hf_token = os.getenv("HF_TOKEN")
|
|
|
|
|
466 |
login(token=hf_token)
|
467 |
|
468 |
# Model name
|
|
|
461 |
|
462 |
|
463 |
# Get the Hugging Face API token from the environment variable
|
|
|
464 |
hf_token = os.getenv("HF_TOKEN")
|
465 |
+
|
466 |
+
# Load Hugging Face token
|
467 |
login(token=hf_token)
|
468 |
|
469 |
# Model name
|