Redmind commited on
Commit
f81145c
·
verified ·
1 Parent(s): 91e576e

Update chat.py

Browse files
Files changed (1) hide show
  1. chat.py +3 -1
chat.py CHANGED
@@ -242,8 +242,10 @@ class ChatHandler:
242
  visual_response = create_visualization_csv(visual_query)
243
 
244
 
 
 
 
245
  else:
246
- print("No table data found in the response.")
247
  visual_response = None
248
  return response, visual_response
249
  except Exception as e:
 
242
  visual_response = create_visualization_csv(visual_query)
243
 
244
 
245
+ else:
246
+ print("No table data found in the response.")
247
+ visual_response = None
248
  else:
 
249
  visual_response = None
250
  return response, visual_response
251
  except Exception as e: