Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,14 +31,14 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
|
|
| 31 |
# Define your search query
|
| 32 |
query = arg1
|
| 33 |
count = arg2
|
| 34 |
-
|
| 35 |
|
| 36 |
# Create the prefix and appendix by repeating '#' count times
|
| 37 |
prefix = "#" * count
|
| 38 |
appendix = "#" * count
|
| 39 |
|
| 40 |
# Use the .run() method to perform the search
|
| 41 |
-
search_results =
|
| 42 |
|
| 43 |
#return "What magic will you build ?"
|
| 44 |
|
|
|
|
| 31 |
# Define your search query
|
| 32 |
query = arg1
|
| 33 |
count = arg2
|
| 34 |
+
|
| 35 |
|
| 36 |
# Create the prefix and appendix by repeating '#' count times
|
| 37 |
prefix = "#" * count
|
| 38 |
appendix = "#" * count
|
| 39 |
|
| 40 |
# Use the .run() method to perform the search
|
| 41 |
+
search_results = duck_tool(query)
|
| 42 |
|
| 43 |
#return "What magic will you build ?"
|
| 44 |
|