WeShop commited on
Commit
1021127
·
1 Parent(s): bd22a56
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -230,7 +230,7 @@ def generate_image(main_image, background_image, did, request: gr.Request):
230
  user_id = f"{login_hash_key}{user_id}"
231
  user_name = request.session_hash
232
  if not user_id or not user_name:
233
- m = "There was an issue with the request. Please check your network or refresh the page and try again."
234
  return gr.Warning(m), did
235
  if main_image is None or background_image is None:
236
  m = "Please upload both the main image and the background reference image before generating."
 
230
  user_id = f"{login_hash_key}{user_id}"
231
  user_name = request.session_hash
232
  if not user_id or not user_name:
233
+ m = "We're sorry, but there seems to be an issue with your request. Please check your network connection or refresh the page and try again."
234
  return gr.Warning(m), did
235
  if main_image is None or background_image is None:
236
  m = "Please upload both the main image and the background reference image before generating."