ArunAIML commited on
Commit
94a937b
·
verified ·
1 Parent(s): de3beb7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -13,8 +13,7 @@ For more information on `huggingface_hub` Inference API support, please check th
13
  https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
14
  """
15
 
16
- client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
17
- model = HfApiModel(client=client) # Pass the InferenceClient to HfApiModel
18
  search_agent = ToolCallingAgent(
19
  tools=[DuckDuckGoSearchTool(), VisitWebpageTool()],
20
  model=model,
 
13
  https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
14
  """
15
 
16
+ model = HfApiModel(model_id="mistralai/Mistral-7B-Instruct-v0.3", token=os.environ.get("HF_TOKEN")) # Pass the InferenceClient to HfApiModel
 
17
  search_agent = ToolCallingAgent(
18
  tools=[DuckDuckGoSearchTool(), VisitWebpageTool()],
19
  model=model,