Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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,
|