cowrycode commited on
Commit
beabdf0
·
verified ·
1 Parent(s): 3fb7fdb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -51,6 +51,8 @@ class BasicAgent:
51
 
52
 
53
  async def smart_agent(questions_data: List[Dict[str, Any]]) -> List[Dict[str, Any]]:
 
 
54
  llm = HuggingFaceInferenceAPI(
55
  model_name="deepseek-ai/DeepSeek-R1-0528",
56
  token=api_key,
 
51
 
52
 
53
  async def smart_agent(questions_data: List[Dict[str, Any]]) -> List[Dict[str, Any]]:
54
+ print("BasicAgent initialized.")
55
+ api_key = os.getenv("HF_TOKEN")
56
  llm = HuggingFaceInferenceAPI(
57
  model_name="deepseek-ai/DeepSeek-R1-0528",
58
  token=api_key,