Spaces:
Runtime error
Runtime error
Update app_agent_config.py
Browse files- app_agent_config.py +6 -0
app_agent_config.py
CHANGED
@@ -4,10 +4,16 @@ from tool_loader import ToolLoader
|
|
4 |
from tool_config import tool_names
|
5 |
from logger import log_enabled
|
6 |
|
|
|
|
|
|
|
|
|
7 |
class AgentConfig:
|
8 |
def __init__(self):
|
9 |
self.tool_checkboxes = []
|
10 |
self.url_endpoint = ""
|
|
|
|
|
11 |
self.log_enabled = False
|
12 |
self.tool_loader = ToolLoader(tool_names)
|
13 |
|
|
|
4 |
from tool_config import tool_names
|
5 |
from logger import log_enabled
|
6 |
|
7 |
+
from PIL import Image
|
8 |
+
import numpy as np
|
9 |
+
|
10 |
+
|
11 |
class AgentConfig:
|
12 |
def __init__(self):
|
13 |
self.tool_checkboxes = []
|
14 |
self.url_endpoint = ""
|
15 |
+
self.image = []
|
16 |
+
self.document = ""
|
17 |
self.log_enabled = False
|
18 |
self.tool_loader = ToolLoader(tool_names)
|
19 |
|