Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,6 +10,8 @@ from datetime import datetime
|
|
| 10 |
|
| 11 |
from Gradio_UI import GradioUI
|
| 12 |
|
|
|
|
|
|
|
| 13 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 14 |
@tool
|
| 15 |
def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return type
|
|
@@ -117,7 +119,6 @@ model = HfApiModel(
|
|
| 117 |
max_tokens=2096,
|
| 118 |
temperature=0.5,
|
| 119 |
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
|
| 120 |
-
api_key=os.getenv("HF_API_KEY"),
|
| 121 |
custom_role_conversions=None,
|
| 122 |
)
|
| 123 |
|
|
|
|
| 10 |
|
| 11 |
from Gradio_UI import GradioUI
|
| 12 |
|
| 13 |
+
api_key=os.getenv("HF_API_KEY"),
|
| 14 |
+
|
| 15 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 16 |
@tool
|
| 17 |
def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return type
|
|
|
|
| 119 |
max_tokens=2096,
|
| 120 |
temperature=0.5,
|
| 121 |
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
|
|
|
|
| 122 |
custom_role_conversions=None,
|
| 123 |
)
|
| 124 |
|