measmonysuon commited on
Commit
f27174e
1 Parent(s): 9ba20fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -163,7 +163,7 @@ def gradio_interface(prompt, resolution_key, user_chat_id):
163
  if os.path.exists(file_path):
164
  update_user_points(user_chat_id, -5)
165
  notify_webhook_with_file(user_chat_id, full_file_url) # Notify webhook with full file URL
166
- return full_file_url, "The image was generated successfully."
167
  return None, "The image file is not available. Please try again later."
168
  return None, "There was an error processing your photo. Please try again later."
169
 
 
163
  if os.path.exists(file_path):
164
  update_user_points(user_chat_id, -5)
165
  notify_webhook_with_file(user_chat_id, full_file_url) # Notify webhook with full file URL
166
+ return full_file_url, "Check your telegram, The image was generated successfully."
167
  return None, "The image file is not available. Please try again later."
168
  return None, "There was an error processing your photo. Please try again later."
169