Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ class BasicAgent:
|
|
| 17 |
# Initialize the model
|
| 18 |
#model = HfApiModel()
|
| 19 |
self.HF_API_TOKEN = HF_API_TOKEN
|
| 20 |
-
model = HfApiModel(model_id="Alibaba-NLP/gte-Qwen1.5-7B-instruct",
|
| 21 |
|
| 22 |
# Initialize the search tool
|
| 23 |
search_tool = DuckDuckGoSearchTool()
|
|
|
|
| 17 |
# Initialize the model
|
| 18 |
#model = HfApiModel()
|
| 19 |
self.HF_API_TOKEN = HF_API_TOKEN
|
| 20 |
+
model = HfApiModel(model_id="Alibaba-NLP/gte-Qwen1.5-7B-instruct", api_key=self.HF_API_TOKEN)
|
| 21 |
|
| 22 |
# Initialize the search tool
|
| 23 |
search_tool = DuckDuckGoSearchTool()
|