Spaces:
Sleeping
Sleeping
James MacQuillan
commited on
Commit
•
9d49480
1
Parent(s):
a40de97
push
Browse files
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
|
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(
|