Update tools/recipe_tools
Browse files- tools/recipe_tools +1 -0
tools/recipe_tools
CHANGED
|
@@ -4,6 +4,7 @@ from smolagents import DuckDuckGoSearchTool
|
|
| 4 |
import requests
|
| 5 |
from bs4 import BeautifulSoup
|
| 6 |
import re
|
|
|
|
| 7 |
|
| 8 |
@tool
|
| 9 |
def search_recipe(query: str) -> List[Dict[str, str]]:
|
|
|
|
| 4 |
import requests
|
| 5 |
from bs4 import BeautifulSoup
|
| 6 |
import re
|
| 7 |
+
import json
|
| 8 |
|
| 9 |
@tool
|
| 10 |
def search_recipe(query: str) -> List[Dict[str, str]]:
|