Skip to content

FastAPI web app with a post OpenAPI endpoint that summarizes a text file

Notifications You must be signed in to change notification settings

joseasv/simplePythonSummarizerWebApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple Python Summarizer Web App

This a small web app that does an extractive summary from a txt file using nltk. React is used for the frontend and FastAPI for the backend with an OpenAPI POST endpoint,

To run the server you will need conda with the conda-forge channel. In the root folder run:

conda config --add channels conda-forge
conda init
conda activate env
conda create --name env --file requirements.txt
python -m nltk.downloader punkt_tab # Download needed nltk files
uvicorn backend.main:app --reload --host 0.0.0.0 --port 8888

In the frontend folder run:

npm i
npm run dev

About

FastAPI web app with a post OpenAPI endpoint that summarizes a text file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published