James MacQuillan commited on
Commit
9d49480
1 Parent(s): a40de97
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -419,7 +419,7 @@ def detect_data_request(user_input, history):
419
  if requestfromfp == []:
420
  history.append(("You: " + user_input, "IM.B: " + 'sorry the response was empty'))
421
  else:
422
- history.append(("You: " + user_input, "IM.B: " + f'there was data in the response but for some reason we couldnt parse it {human_readable_text}'))
423
  else:
424
  # If no data endpoint exists, switch to scraping a valid webpage
425
  response = client.chat_completion(
 
419
  if requestfromfp == []:
420
  history.append(("You: " + user_input, "IM.B: " + 'sorry the response was empty'))
421
  else:
422
+ history.append(("You: " + user_input, "IM.B: " + f'there was data in the response but for some reason we couldnt parse it '))
423
  else:
424
  # If no data endpoint exists, switch to scraping a valid webpage
425
  response = client.chat_completion(