Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
from smolagents import CodeAgent, DuckDuckGoSearchTool, load_tool, tool
|
| 2 |
-
from huggingface_hub.inference._client import InferenceClient
|
| 3 |
import datetime
|
| 4 |
import pytz
|
| 5 |
import yaml
|
|
@@ -29,7 +28,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 29 |
|
| 30 |
final_answer = FinalAnswerTool()
|
| 31 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
| 32 |
-
model =
|
| 33 |
|
| 34 |
with open("prompts.yaml", "r") as stream:
|
| 35 |
prompt_templates = yaml.safe_load(stream)
|
|
|
|
| 1 |
from smolagents import CodeAgent, DuckDuckGoSearchTool, load_tool, tool
|
|
|
|
| 2 |
import datetime
|
| 3 |
import pytz
|
| 4 |
import yaml
|
|
|
|
| 28 |
|
| 29 |
final_answer = FinalAnswerTool()
|
| 30 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
| 31 |
+
model = "Qwen/Qwen2.5-Coder-32B-Instruct"
|
| 32 |
|
| 33 |
with open("prompts.yaml", "r") as stream:
|
| 34 |
prompt_templates = yaml.safe_load(stream)
|