Questions tagged [flask]

5 questions
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
  • 1
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
0 answers

Model outputting repeated result in Flask back-end

I am trying to implement this working audio classification model into a Flask app for use on a website. However, anytime I upload an audio file, even one that was used on the test/training of the model. The website output will always be one or two…
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,223
  • 2
  • 11
  • 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…