Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1050,7 +1050,7 @@ def classify(platform, UserInput, Images, Textbox2, Textbox3):
|
|
1050 |
try:
|
1051 |
userPoints = point_data["points"]
|
1052 |
print("POINTSSSSS:", points)
|
1053 |
-
return f"User Found. Successful. Your Total points is: {userPoints} (if
|
1054 |
except:
|
1055 |
return "Error Occured while retrieving user points. Please try again. "
|
1056 |
else:
|
|
|
1050 |
try:
|
1051 |
userPoints = point_data["points"]
|
1052 |
print("POINTSSSSS:", points)
|
1053 |
+
return f"User Found. Successful. Your Total points is: {userPoints} (if the point is 0 then say 'You got this or smth like that....Dipose more waste to earn more points.')'"
|
1054 |
except:
|
1055 |
return "Error Occured while retrieving user points. Please try again. "
|
1056 |
else:
|