Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ from langchain_huggingface import HuggingFaceEndpoint, ChatHuggingFace
|
|
| 11 |
# Generate the chat interface, including the tools
|
| 12 |
llm = HuggingFaceEndpoint(
|
| 13 |
repo_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 14 |
-
huggingfacehub_api_token=HF_TOKEN,
|
| 15 |
)
|
| 16 |
|
| 17 |
chat = ChatHuggingFace(llm=llm, verbose=True)
|
|
|
|
| 11 |
# Generate the chat interface, including the tools
|
| 12 |
llm = HuggingFaceEndpoint(
|
| 13 |
repo_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 14 |
+
huggingfacehub_api_token="HF_TOKEN",
|
| 15 |
)
|
| 16 |
|
| 17 |
chat = ChatHuggingFace(llm=llm, verbose=True)
|