Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -912,7 +912,7 @@ def format_hotel_info(name, link, location, rate_per_night, total_rate, descript
|
|
912 |
- Description: {description}
|
913 |
"""
|
914 |
|
915 |
-
def fetch_google_hotels(query="Birmingham Hotel", check_in=
|
916 |
# Introductory prompt for hotels
|
917 |
intro_prompt = "Here are some of the best hotels in Birmingham, Alabama, for your stay. Each of these options offers a unique experience, whether you're looking for luxury, comfort, or convenience:"
|
918 |
|
@@ -974,7 +974,7 @@ def format_flight_info(flight_number, departure_airport, departure_time, arrival
|
|
974 |
- Airplane: {airplane}
|
975 |
"""
|
976 |
|
977 |
-
def fetch_google_flights(departure_id="JFK", arrival_id="BHM", outbound_date=
|
978 |
# Introductory prompt for flights
|
979 |
intro_prompt = "Here are some available flights from JFK to Birmingham, Alabama. These options provide a range of times and durations to fit your travel needs:"
|
980 |
|
|
|
912 |
- Description: {description}
|
913 |
"""
|
914 |
|
915 |
+
def fetch_google_hotels(query="Birmingham Hotel", check_in="2024-08-16", check_out="2024-08-20", adults=2):
|
916 |
# Introductory prompt for hotels
|
917 |
intro_prompt = "Here are some of the best hotels in Birmingham, Alabama, for your stay. Each of these options offers a unique experience, whether you're looking for luxury, comfort, or convenience:"
|
918 |
|
|
|
974 |
- Airplane: {airplane}
|
975 |
"""
|
976 |
|
977 |
+
def fetch_google_flights(departure_id="JFK", arrival_id="BHM", outbound_date="2024-08-16", return_date="2024-08-20"):
|
978 |
# Introductory prompt for flights
|
979 |
intro_prompt = "Here are some available flights from JFK to Birmingham, Alabama. These options provide a range of times and durations to fit your travel needs:"
|
980 |
|