Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ class BasicAgent:
|
|
18 |
# Initialize the model
|
19 |
#model = HfApiModel()
|
20 |
self.HF_API_TOKEN = HF_API_TOKEN
|
21 |
-
model = HfApiModel(model_id="
|
22 |
|
23 |
# Initialize the search tool
|
24 |
search_tool = DuckDuckGoSearchTool()
|
|
|
18 |
# Initialize the model
|
19 |
#model = HfApiModel()
|
20 |
self.HF_API_TOKEN = HF_API_TOKEN
|
21 |
+
model = HfApiModel(model_id="openai-community/gpt2", api_key=self.HF_API_TOKEN)
|
22 |
|
23 |
# Initialize the search tool
|
24 |
search_tool = DuckDuckGoSearchTool()
|