tommy24 commited on
Commit
b18ae63
·
1 Parent(s): 4235d12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 it is below a certain point then say 'Dipose more waste to earn more points.')'"
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: