AMfeta99 commited on
Commit
a088c89
·
verified ·
1 Parent(s): 6c8d288

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, load_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):