Skip to content

Quan25/flask-summary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Summary

** PreSumm modules was originally from https://github.com/nlpyang/PreSumm **

Features

  • generate summary on given text

Installation In A Nutshell (on localhost)

  1. Install Flask
  2. pyrouge is an essential module for PreSumm to run, please follow the instruction here about how to install pyrouge
  3. Please install pytorch 1.1.0 with this comand
  • GPU
  conda install pytorch==1.1.0 torchvision==0.3.0 cudatoolkit=10.0 -c pytorch
  • CPU Only
conda install pytorch-cpu==1.1.0 torchvision-cpu==0.3.0 cpuonly -c pytorch
  1. Run python app.py in the flask-summary directory.
  2. Start web server by running python app.py while in the server_example directory.
  3. Browse the examples using a browser. (defaults to port 5000)

About

a python flask web-app using Bert to do summarization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages