Update app.py
Browse filesfix huggingface token
app.py
CHANGED
|
@@ -26,7 +26,7 @@ class BasicAgent:
|
|
| 26 |
|
| 27 |
llm = HuggingFaceEndpoint(
|
| 28 |
repo_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 29 |
-
huggingfacehub_api_token=HUGGINGFACEHUB_API_TOKEN,
|
| 30 |
)
|
| 31 |
|
| 32 |
search_tool = DuckDuckGoSearchRun()
|
|
|
|
| 26 |
|
| 27 |
llm = HuggingFaceEndpoint(
|
| 28 |
repo_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 29 |
+
huggingfacehub_api_token=os.environ.get("HUGGINGFACEHUB_API_TOKEN"),
|
| 30 |
)
|
| 31 |
|
| 32 |
search_tool = DuckDuckGoSearchRun()
|