Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,10 +6,9 @@ from tools.final_answer import FinalAnswerTool
|
|
6 |
|
7 |
from Gradio_UI import GradioUI
|
8 |
|
9 |
-
# A tool that sums two numbers and returns the sum as an integer.
|
10 |
@tool
|
11 |
def my_custom_tool(arg1: int, arg2: int) -> int:
|
12 |
-
"""A tool that sums two numbers.
|
13 |
|
14 |
Args:
|
15 |
arg1: the first number.
|
@@ -36,8 +35,7 @@ final_answer = FinalAnswerTool()
|
|
36 |
model = HfApiModel(
|
37 |
max_tokens=2096,
|
38 |
temperature=0.5,
|
39 |
-
|
40 |
-
model_id='mistralai/Mistral-7B-Instruct-v0.2',
|
41 |
custom_role_conversions=None,
|
42 |
)
|
43 |
|
|
|
6 |
|
7 |
from Gradio_UI import GradioUI
|
8 |
|
|
|
9 |
@tool
|
10 |
def my_custom_tool(arg1: int, arg2: int) -> int:
|
11 |
+
""" A tool that sums two numbers and returns the sum as an integer.
|
12 |
|
13 |
Args:
|
14 |
arg1: the first number.
|
|
|
35 |
model = HfApiModel(
|
36 |
max_tokens=2096,
|
37 |
temperature=0.5,
|
38 |
+
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
|
|
|
39 |
custom_role_conversions=None,
|
40 |
)
|
41 |
|