Spaces:
Sleeping
Sleeping
Change query in app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ def find_open_restaurants_by_location(location: str,
|
|
| 32 |
local_time = datetime.datetime.now(tz).strftime("%H:%M")
|
| 33 |
|
| 34 |
# Build query dynamically based on provided inputs
|
| 35 |
-
query_parts = [f'Find a list of 5 restaurants currently open in "{location}"
|
| 36 |
if cuisine:
|
| 37 |
query_parts.append(f"serving {cuisine} cuisine")
|
| 38 |
if rating:
|
|
|
|
| 32 |
local_time = datetime.datetime.now(tz).strftime("%H:%M")
|
| 33 |
|
| 34 |
# Build query dynamically based on provided inputs
|
| 35 |
+
query_parts = [f'Find a list of 5 restaurants currently open in "{location}".']
|
| 36 |
if cuisine:
|
| 37 |
query_parts.append(f"serving {cuisine} cuisine")
|
| 38 |
if rating:
|