Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,6 @@ import pytz # Had to give it permission in Code agent
|
|
10 |
from ui.contentagentui import ContentAgentUI
|
11 |
from ui.gradioui import GradioUI
|
12 |
|
13 |
-
|
14 |
from smolagents import CodeAgent, HfApiModel
|
15 |
from status_check import run_status_checks
|
16 |
|
@@ -23,7 +22,6 @@ def initialize_agent(endpoint_uri: str):
|
|
23 |
combined_prompts = load_prompts()
|
24 |
combined_tools = load_tools() ## from the tools folder (don't remove final answer)
|
25 |
|
26 |
-
|
27 |
"""Initialize and configure the CodeAgent"""
|
28 |
model = HfApiModel(
|
29 |
max_tokens=2096,
|
|
|
10 |
from ui.contentagentui import ContentAgentUI
|
11 |
from ui.gradioui import GradioUI
|
12 |
|
|
|
13 |
from smolagents import CodeAgent, HfApiModel
|
14 |
from status_check import run_status_checks
|
15 |
|
|
|
22 |
combined_prompts = load_prompts()
|
23 |
combined_tools = load_tools() ## from the tools folder (don't remove final answer)
|
24 |
|
|
|
25 |
"""Initialize and configure the CodeAgent"""
|
26 |
model = HfApiModel(
|
27 |
max_tokens=2096,
|