Update app.py
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ def generate_object_history(object_name):
|
|
104 |
|
105 |
#%% Initialization of tools and AI_Agent
|
106 |
# Import text-to-image tool from Hub
|
107 |
-
from smolagents.tools import Tool
|
108 |
image_generation_tool = load_tool("m-ric/text-to-image", cache=False)
|
109 |
|
110 |
class WrappedTextToImageTool(Tool):
|
|
|
104 |
|
105 |
#%% Initialization of tools and AI_Agent
|
106 |
# Import text-to-image tool from Hub
|
107 |
+
from smolagents.tools import Tool
|
108 |
image_generation_tool = load_tool("m-ric/text-to-image", cache=False)
|
109 |
|
110 |
class WrappedTextToImageTool(Tool):
|