xd11yggy commited on
Commit
d146408
Β·
verified Β·
1 Parent(s): 32ffa10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -4,11 +4,4 @@ from smolagents import DuckDuckGoSearchTool
4
  web_search = DuckDuckGoSearchTool()
5
 
6
  # Perform search
7
- results = web_search("Pont des Arts length in meters")
8
-
9
- # Print results
10
- for i, result in enumerate(results[:3]): # Show top 3 results
11
- print(f"Result {i+1}:")
12
- print(f"Title: {result['title']}")
13
- print(f"URL: {result['href']}")
14
- print(f"Snippet: {result['body']}\n")
 
4
  web_search = DuckDuckGoSearchTool()
5
 
6
  # Perform search
7
+ results = web_search("Pont des Arts length in meters")