Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -142,6 +142,7 @@ def predict(tweet):
|
|
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:
|
|
|
142 |
|
143 |
if type(prediction) is dict:
|
144 |
# return "Model is still loading. Try again."
|
145 |
+
print(prediction)
|
146 |
return "Model is loading. Try again."
|
147 |
|
148 |
if bool(matched_profanity) == False:
|