Update app.py
Browse files
app.py
CHANGED
|
@@ -34,7 +34,7 @@ class BasicAgent:
|
|
| 34 |
|
| 35 |
llm = HuggingFaceEndpoint(
|
| 36 |
repo_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 37 |
-
huggingfacehub_api_token=HUGGINGFACEHUB_API_TOKEN,
|
| 38 |
)
|
| 39 |
|
| 40 |
chat = ChatHuggingFace(llm=llm, verbose=True)
|
|
|
|
| 34 |
|
| 35 |
llm = HuggingFaceEndpoint(
|
| 36 |
repo_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 37 |
+
huggingfacehub_api_token=os.environ.get("HUGGINGFACEHUB_API_TOKEN"),
|
| 38 |
)
|
| 39 |
|
| 40 |
chat = ChatHuggingFace(llm=llm, verbose=True)
|