mohammadKa143 commited on
Commit
35c753b
·
verified ·
1 Parent(s): 667f520

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,7 +7,7 @@ from tools.final_answer import FinalAnswerTool
7
  from tools.visit_webpage import VisitWebpageTool
8
  import os
9
  from Gradio_UI import GradioUI
10
- import PIL
11
  from duckduckgo_search import DDGS
12
 
13
  import datetime
@@ -16,7 +16,7 @@ import time
16
 
17
 
18
  @tool
19
- def show_image(image : PIL.Image.Image )-> str :#it's import to specify the return type
20
  #Keep this format for the description / args / args description but feel free to modify the tool
21
  """A tool that shows image generated by image_generation_tool
22
  Args:
 
7
  from tools.visit_webpage import VisitWebpageTool
8
  import os
9
  from Gradio_UI import GradioUI
10
+ from PIL import Image
11
  from duckduckgo_search import DDGS
12
 
13
  import datetime
 
16
 
17
 
18
  @tool
19
+ def show_image(image : Image.Image )-> str :#it's import to specify the return type
20
  #Keep this format for the description / args / args description but feel free to modify the tool
21
  """A tool that shows image generated by image_generation_tool
22
  Args: