Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -52,7 +52,7 @@ def get_stock_price(stock: str) -> str:
|
|
| 52 |
|
| 53 |
# Perform the search
|
| 54 |
search_results = search_tool(f"current stock price of {stock}")
|
| 55 |
-
return search_results
|
| 56 |
|
| 57 |
# Debugging: Print results to see what is returned
|
| 58 |
print(f"DEBUG: search results -> {search_results}")
|
|
@@ -101,7 +101,7 @@ def duckweb_search(query: str) -> str:
|
|
| 101 |
|
| 102 |
# Perform the search
|
| 103 |
search_results = search_tool(query)
|
| 104 |
-
return f"the answer is {search_results
|
| 105 |
|
| 106 |
# Debugging: Print results to see what is returned
|
| 107 |
print(f"DEBUG: search results -> {search_results}")
|
|
|
|
| 52 |
|
| 53 |
# Perform the search
|
| 54 |
search_results = search_tool(f"current stock price of {stock}")
|
| 55 |
+
return search_results
|
| 56 |
|
| 57 |
# Debugging: Print results to see what is returned
|
| 58 |
print(f"DEBUG: search results -> {search_results}")
|
|
|
|
| 101 |
|
| 102 |
# Perform the search
|
| 103 |
search_results = search_tool(query)
|
| 104 |
+
return f"the answer is {search_results}"
|
| 105 |
|
| 106 |
# Debugging: Print results to see what is returned
|
| 107 |
print(f"DEBUG: search results -> {search_results}")
|