Spaces:
Runtime error
Runtime error
Upload agent.py
Browse files
agent.py
CHANGED
|
@@ -296,7 +296,7 @@ def build_graph(provider: str = "huggingface"):
|
|
| 296 |
# TODO: Add huggingface endpoint
|
| 297 |
llm = ChatHuggingFace(
|
| 298 |
llm=HuggingFaceEndpoint(
|
| 299 |
-
|
| 300 |
temperature=0,
|
| 301 |
),
|
| 302 |
)
|
|
|
|
| 296 |
# TODO: Add huggingface endpoint
|
| 297 |
llm = ChatHuggingFace(
|
| 298 |
llm=HuggingFaceEndpoint(
|
| 299 |
+
endpoint_url="https://api-inference.huggingface.co/models/Meta-DeepLearning/llama-2-7b-chat-hf",
|
| 300 |
temperature=0,
|
| 301 |
),
|
| 302 |
)
|