Update app.py
Browse files
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},
|