Chris4K commited on
Commit
2ea8b67
·
verified ·
1 Parent(s): 47cf4e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -121,7 +121,8 @@ def handle_submission():
121
  print(selected_tools)
122
  # Initialize the agent
123
  agent = CustomHfAgent(
124
- url_endpoint="https://api-inference.huggingface.co/models/bigcode/starcoder",
 
125
  token=os.environ['HF_token'],
126
  additional_tools=selected_tools,
127
  input_params={"max_new_tokens": 192},
 
121
  print(selected_tools)
122
  # Initialize the agent
123
  agent = CustomHfAgent(
124
+ #url_endpoint="https://api-inference.huggingface.co/models/bigcode/starcoder", # mistralai/Mixtral-8x7B-v0.1
125
+ url_endpoint="https://api-inference.huggingface.co/models/mistralai/Mixtral-8x7B-v0.1", #
126
  token=os.environ['HF_token'],
127
  additional_tools=selected_tools,
128
  input_params={"max_new_tokens": 192},