Skip to content

vj-m/AF_Pro_NLP_APP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Flask Web Server for Predicting Top N Videos based on a Text Query and Adding Support Data to Improve Search

Features

Transformers for Vectorizing and Similarity Matching and returns Top N results

Based on selected output, added this inforamtion for better classification going forward(Feedback)

Steps to Run Server Locally

1.) Get the code from - https://github.com/vj-m/AF_Pro_NLP_APP

2.) cd into '/nlp_app' directory

cd nlp_app

3.) Create a virtual Environment and Install packages needed using requirements.txt file

For MacOS to create and enter Virtual Environment

python3 -m venv env
source env/bin/activate
pip install -r requirements.txt

4.) For Mac/Linux to run the server locally

Changes needed in api.py to run locally as shown below

app.run(host="0.0.0.0", port=80)
#serve(app, host = '0.0.0.0', port = 80)

To Run

export FLASK_APP=api.py
flask run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages