#Flask Aborted!
11 messages · Page 1 of 1 (latest)
Shared image
Please post on here instead: https://codeshare.io/ so it's reproducible
just copy the code and share it as code blocks
Try commenting out the line that loads the model. If it works, then it's the pickle problem. If not, it's the rest of the code
yea you were right thankss
Would you mind telling me what I messed up again?
I have given A str itself as input
Can’t tell without context of the model
Its more of predicting if the text is discriminatory or not
Again, unless we know what true model looks like, these don’t say anything. It’s really the prediction that’s complaining, looks like it wants numeric (likely token ID or something) rather than just a string. So you also need to preprocess it