Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -184,10 +184,9 @@ async def handle_message(message: cl.Message):
|
|
184 |
|
185 |
if response:
|
186 |
try:
|
187 |
-
|
188 |
-
|
189 |
|
190 |
-
# Add each field with proper formatting
|
191 |
fields_mapping = [
|
192 |
('booking_id', 'Booking ID'),
|
193 |
('full_name', 'Full Name'),
|
|
|
184 |
|
185 |
if response:
|
186 |
try:
|
187 |
+
booking_data = json.loads(response)
|
188 |
+
table = "| Field | Information |\n|---|---|\n"
|
189 |
|
|
|
190 |
fields_mapping = [
|
191 |
('booking_id', 'Booking ID'),
|
192 |
('full_name', 'Full Name'),
|