Questions tagged [flask]

6 questions
2
votes
1 answer

Flask App Running on Localhost But Getting "ValueError" After Submitting Form with Necessary Values

I am working on a Machine Learning Flask project on Electric Vehicle Price Prediction to deepen my practical skills. I have completed everything, like data exploration, model creation, and running the Flask app on localhost. After running the app on…
1
vote
0 answers

saving ML models with pickle to be deployed using Flask

I trained some ensemble Ml to predict, I needed to save with pickle so as to be able to deploy using Flask. To save with pickle I have tried several methods and read several articles but could not get a clue, when trying to use Linear Regression in…
1
vote
1 answer

What is the most straightforward way to run python code in a chrome extension?

I am currently trying to develop a chrome extension for a project. My knowledge of Javascript is quite limited and this is my first using it, so I am trying to reduce as much as possible its use. The extension scope will be basically extracting the…
Manuel
  • 11
  • 2
1
vote
1 answer

Universal Sentence Encoder MultiLingual inside Flask

I am having an issue using Universal Sentence Encoder(USE) Multilingual inside a flask app. I am using it with TF2. When I initialize the flask app and load the USE model using hub.load() and then call it on text to get the embeddings, it works…
0
votes
1 answer

What is a better way of loading a model in Flask service hosted with IIS

I have a ML model (trained in Sklearn) and based on it I have created a Flask web service and hosted it on Windows IIS server. What is the best practice to load the model? Shall I load the model when we start the API or model should be loading when…
Sociopath
  • 1,293
  • 2
  • 12
  • 27
0
votes
1 answer

struggling in deploying machine learning classifier project

Please and one can help me in this when i try to debug the web-app after i applied the machine learning algorithms (BagOfwords vectorization& classifiers) i have stragguled, and the error was like following: File…