mginoben commited on
Commit
66c9618
1 Parent(s): 6c938dd

Fixed bugs.

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -142,8 +142,7 @@ def predict(tweet):
142
 
143
  if type(prediction) is dict:
144
  # return "Model is still loading. Try again."
145
- print("loading")
146
- predict(tweet)
147
 
148
  if bool(matched_profanity) == False:
149
  return "No profanity found."
 
142
 
143
  if type(prediction) is dict:
144
  # return "Model is still loading. Try again."
145
+ return "Model is loading. Try again."
 
146
 
147
  if bool(matched_profanity) == False:
148
  return "No profanity found."