Spaces:
Sleeping
Sleeping
Update app.py
Browse filesprint to debug
app.py
CHANGED
|
@@ -36,7 +36,8 @@ def my_custom_tool(city1: str, city2: str) -> str:
|
|
| 36 |
results_city1 = search_model(f"top 5 sightseeing locations in {city1}").split("\n")
|
| 37 |
# Search for top 5 sightseeing locations in city2
|
| 38 |
results_city2 = search_model(f"top 5 sightseeing locations in {city2}").split("\n")
|
| 39 |
-
|
|
|
|
| 40 |
# Format the results as a string
|
| 41 |
output = f"Top 5 sightseeing locations in {city1}:\n"
|
| 42 |
output += "\n".join(results_city1[:5]) + "\n\n"
|
|
|
|
| 36 |
results_city1 = search_model(f"top 5 sightseeing locations in {city1}").split("\n")
|
| 37 |
# Search for top 5 sightseeing locations in city2
|
| 38 |
results_city2 = search_model(f"top 5 sightseeing locations in {city2}").split("\n")
|
| 39 |
+
print(results_city1)
|
| 40 |
+
|
| 41 |
# Format the results as a string
|
| 42 |
output = f"Top 5 sightseeing locations in {city1}:\n"
|
| 43 |
output += "\n".join(results_city1[:5]) + "\n\n"
|