ATK20 commited on
Commit
b4bffe6
·
verified ·
1 Parent(s): 422bfac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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", api_token=self.HF_API_TOKEN)
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()