Spaces:
Runtime error
Runtime error
measmonysuon
commited on
Commit
•
64cbbc6
1
Parent(s):
0f686ba
Update app.py
Browse files
app.py
CHANGED
@@ -89,7 +89,7 @@ def retrieve_user_points(user_chat_id, otp):
|
|
89 |
if response.status_code == 200:
|
90 |
data = response.json()
|
91 |
points = data.get("points", 0)
|
92 |
-
return points, "OTA
|
93 |
return None, "Error retrieving points. Please try again later."
|
94 |
|
95 |
def update_user_points(user_chat_id, points):
|
|
|
89 |
if response.status_code == 200:
|
90 |
data = response.json()
|
91 |
points = data.get("points", 0)
|
92 |
+
return points, "OTA verification and points retrieved successfully. Now, enter pormpt and generate image"
|
93 |
return None, "Error retrieving points. Please try again later."
|
94 |
|
95 |
def update_user_points(user_chat_id, points):
|