Errors processing input for NLP model to run in Gradio

Installing goes well, and I am able to process/rewrite the input text to a dataframe set up like the dataframe used to test/train the model. However, I get the error:
“X has 23490 features, but SVC is expecting 100 features as input.”

Where is this 100 coming from? The test/train had the 23490 columns. For the life of me, I don’t see anything stating 100 in my code.


hi @emizer,

is this issue related happening on a Gradio app? If possible, could you provide a snippet of the code or share a Space? This would be helpful to troubleshoot the problem. Thanks