measmonysuon commited on
Commit
5132683
1 Parent(s): 1b4a272

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -106,7 +106,7 @@ def retrieve_user_points(user_chat_id, otp):
106
  if response.status_code == 200:
107
  data = response.json()
108
  points = data.get("points", 0)
109
- return points, "OTA verification and points retrieved successfully. Now, enter pormpt and generate image"
110
  return None, "Error retrieving points. Please try again later."
111
 
112
  def update_user_points(user_chat_id, points):
 
106
  if response.status_code == 200:
107
  data = response.json()
108
  points = data.get("points", 0)
109
+ return points, "OTP verification and points retrieved successfully. Now, enter pormpt and generate image"
110
  return None, "Error retrieving points. Please try again later."
111
 
112
  def update_user_points(user_chat_id, points):