jhealy1 commited on
Commit
195edd9
·
verified ·
1 Parent(s): 278550c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -1,13 +1,6 @@
1
  """
2
  This app.py consitutes an application where users can pose queries to
3
  an agent about plants.
4
-
5
- The user can provide pictures and text about plants and expect the agent to answer
6
- their questions about said plant.
7
-
8
- Useful tools:
9
- 1. DuckDuckGoSearchTool -- get internet search results about plant
10
- 2.
11
  """
12
  from smolagents import CodeAgent,DuckDuckGoSearchTool, HfApiModel,load_tool,tool
13
  import datetime
@@ -15,6 +8,7 @@ import requests
15
  import pytz
16
  import yaml
17
  from tools.final_answer import FinalAnswerTool
 
18
 
19
  from Gradio_UI import GradioUI
20
 
 
1
  """
2
  This app.py consitutes an application where users can pose queries to
3
  an agent about plants.
 
 
 
 
 
 
 
4
  """
5
  from smolagents import CodeAgent,DuckDuckGoSearchTool, HfApiModel,load_tool,tool
6
  import datetime
 
8
  import pytz
9
  import yaml
10
  from tools.final_answer import FinalAnswerTool
11
+ from huggingface_hub.inference_api import InferenceApi
12
 
13
  from Gradio_UI import GradioUI
14