MonkMiner commited on
Commit
252d1c8
·
verified ·
1 Parent(s): c13f646

Upload 3 files

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -12,6 +12,8 @@ import torch
12
  from smolagents import CodeAgent, DuckDuckGoSearchTool
13
  from smolagents.tools import Tool
14
 
 
 
15
  class WikipediaSearchTool(DuckDuckGoSearchTool, Tool):
16
  name = "wikipedia_search"
17
  description = "Search Wikipedia-style information using DuckDuckGo backend."
 
12
  from smolagents import CodeAgent, DuckDuckGoSearchTool
13
  from smolagents.tools import Tool
14
 
15
+ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
16
+ MODEL_ID = "google/flan-t5-base"
17
  class WikipediaSearchTool(DuckDuckGoSearchTool, Tool):
18
  name = "wikipedia_search"
19
  description = "Search Wikipedia-style information using DuckDuckGo backend."