Update agent.py
Browse files
agent.py
CHANGED
@@ -694,6 +694,7 @@ def build_graph(provider: str = "huggingface"):
|
|
694 |
#endpoint_url="https://api-inference.huggingface.co/models/Meta-DeepLearning/llama-2-7b-chat-hf",
|
695 |
#endpoint_url="https://api-inference.huggingface.co/models/Qwen/Qwen3-4B",
|
696 |
endpoint_url="https://api-inference.huggingface.co/models/microsoft/phi-4",
|
|
|
697 |
|
698 |
#task="text-generation", # for chat‐style use “text-generation”
|
699 |
#max_new_tokens=1024,
|
|
|
694 |
#endpoint_url="https://api-inference.huggingface.co/models/Meta-DeepLearning/llama-2-7b-chat-hf",
|
695 |
#endpoint_url="https://api-inference.huggingface.co/models/Qwen/Qwen3-4B",
|
696 |
endpoint_url="https://api-inference.huggingface.co/models/microsoft/phi-4",
|
697 |
+
token=https://huggingface.co/spaces/IamRulo/Final_Assignment_Template/settings/HF_TOKEN,
|
698 |
|
699 |
#task="text-generation", # for chat‐style use “text-generation”
|
700 |
#max_new_tokens=1024,
|