Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1008,7 +1008,7 @@ def classify(platform, UserInput, Images, Textbox2, Textbox3):
|
|
1008 |
"landmark": landmark,
|
1009 |
"zip_code": zip_code,
|
1010 |
"emirate": emirate,
|
1011 |
-
"reason_for_visit":
|
1012 |
},
|
1013 |
})
|
1014 |
|
@@ -1226,7 +1226,7 @@ def classify(platform, UserInput, Images, Textbox2, Textbox3):
|
|
1226 |
# print("RESPONSE TRY (NO IMAGE)", completion, reply)
|
1227 |
except Exception as e:
|
1228 |
print("Error",e)
|
1229 |
-
reply = "
|
1230 |
output.append({"Mode": "Chat", "content": reply})
|
1231 |
|
1232 |
return output
|
|
|
1008 |
"landmark": landmark,
|
1009 |
"zip_code": zip_code,
|
1010 |
"emirate": emirate,
|
1011 |
+
"reason_for_visit": reason,
|
1012 |
},
|
1013 |
})
|
1014 |
|
|
|
1226 |
# print("RESPONSE TRY (NO IMAGE)", completion, reply)
|
1227 |
except Exception as e:
|
1228 |
print("Error",e)
|
1229 |
+
reply = "Our system is currently under high load. Please clear your history and Try Again!"
|
1230 |
output.append({"Mode": "Chat", "content": reply})
|
1231 |
|
1232 |
return output
|