l8git commited on
Commit
a77b5a5
·
verified ·
1 Parent(s): 165cf33

Reorder imports

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,6 +1,6 @@
 
1
  from collections import defaultdict
2
  from random import randint
3
- from smolagents import CodeAgent,DuckDuckGoSearchTool, HfApiModel, load_tool,tool
4
  import datetime
5
 
6
  import requests
@@ -11,7 +11,7 @@ from tools.final_answer import FinalAnswerTool
11
  from Gradio_UI import GradioUI
12
 
13
  @tool
14
- def pick_song(mood:str)-> str: #it's import to specify the return type
15
  #Keep this format for the description / args / args description but feel free to modify the tool
16
  """A tool that returns a youtube song URL based on the user's mood.
17
  Args:
 
1
+ from smolagents import CodeAgent,DuckDuckGoSearchTool, HfApiModel, load_tool,tool
2
  from collections import defaultdict
3
  from random import randint
 
4
  import datetime
5
 
6
  import requests
 
11
  from Gradio_UI import GradioUI
12
 
13
  @tool
14
+ def pick_song(mood: str) -> str: #it's import to specify the return type
15
  #Keep this format for the description / args / args description but feel free to modify the tool
16
  """A tool that returns a youtube song URL based on the user's mood.
17
  Args: