Spaces:
Sleeping
Sleeping
James MacQuillan
commited on
Commit
·
f908056
1
Parent(s):
9c9e84d
push
Browse files
app.py
CHANGED
@@ -418,7 +418,7 @@ def detect_data_request(user_input, history):
|
|
418 |
if requestfromfp == []:
|
419 |
history.append(("You: " + user_input, "IM.B: " + 'sorry the response was empty'))
|
420 |
else:
|
421 |
-
history.append(("You: " + user_input, "IM.B: " + f'there was data in the response but for some reason we couldnt parse it {
|
422 |
else:
|
423 |
# If no data endpoint exists, switch to scraping a valid webpage
|
424 |
response = client.chat_completion(
|
|
|
418 |
if requestfromfp == []:
|
419 |
history.append(("You: " + user_input, "IM.B: " + 'sorry the response was empty'))
|
420 |
else:
|
421 |
+
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}'))
|
422 |
else:
|
423 |
# If no data endpoint exists, switch to scraping a valid webpage
|
424 |
response = client.chat_completion(
|