IamRulo commited on
Commit
5f0599c
·
verified ·
1 Parent(s): 493bdff

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -0
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,