camparchimedes commited on
Commit
f0e43b6
ยท
verified ยท
1 Parent(s): b18743f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -184,10 +184,9 @@ async def handle_message(message: cl.Message):
184
 
185
  if response:
186
  try:
187
- booking_data = json.loads(response)
188
- table = "| Field | Information |\n|---|---|\n"
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'),