samiesam commited on
Commit
0281edc
·
verified ·
1 Parent(s): 8d1bcf6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -7,14 +7,6 @@ from tools.final_answer import FinalAnswerTool
7
 
8
  from Gradio_UI import GradioUI
9
 
10
- from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel, load_tool, tool
11
- import datetime
12
- import requests
13
- import pytz
14
- import yaml
15
- from tools.final_answer import FinalAnswerTool
16
-
17
- from Gradio_UI import GradioUI
18
 
19
  # Below is an example of a tool that does nothing. Amaze us with your creativity!
20
  @tool
@@ -53,6 +45,7 @@ final_answer = FinalAnswerTool()
53
 
54
 
55
  # Import tool from Hub
 
56
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
57
 
58
  # Load system prompt from prompt.yaml file
 
7
 
8
  from Gradio_UI import GradioUI
9
 
 
 
 
 
 
 
 
 
10
 
11
  # Below is an example of a tool that does nothing. Amaze us with your creativity!
12
  @tool
 
45
 
46
 
47
  # Import tool from Hub
48
+
49
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
50
 
51
  # Load system prompt from prompt.yaml file