Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
# from smolagents import DuckDuckGoSearchTool, load_tool,tool
|
| 2 |
|
| 3 |
import sys
|
| 4 |
import time
|
|
@@ -7,13 +6,11 @@ import os
|
|
| 7 |
import pytz # Had to give it permission in Code agent
|
| 8 |
|
| 9 |
from ui.contentagentui import ContentAgentUI
|
| 10 |
-
|
| 11 |
from smolagents import CodeAgent, InferenceClientModel
|
| 12 |
|
| 13 |
from checks.status_check import resolve_endpoint, is_endpoint_healthy
|
| 14 |
|
| 15 |
from tools.tools import load_tools
|
| 16 |
-
|
| 17 |
from prompts.prompts import load_prompts
|
| 18 |
|
| 19 |
def initialize_agent(endpoint_uri: str):
|
|
|
|
|
|
|
| 1 |
|
| 2 |
import sys
|
| 3 |
import time
|
|
|
|
| 6 |
import pytz # Had to give it permission in Code agent
|
| 7 |
|
| 8 |
from ui.contentagentui import ContentAgentUI
|
|
|
|
| 9 |
from smolagents import CodeAgent, InferenceClientModel
|
| 10 |
|
| 11 |
from checks.status_check import resolve_endpoint, is_endpoint_healthy
|
| 12 |
|
| 13 |
from tools.tools import load_tools
|
|
|
|
| 14 |
from prompts.prompts import load_prompts
|
| 15 |
|
| 16 |
def initialize_agent(endpoint_uri: str):
|