A scaffold for deploying dockerized flask applications showing student natural language processing projects using aitextgen and pytorch.
The files/directories which you will need to edit are bolded, and the files you may need to edit are italicized. DO NOT TOUCH OTHER FILES.
- pytorch_model.bin <- you will need to upload this yourself after cloning the repo when developing the site
The weights file - must upload if you are running file on coding center.
Has code for streamlit.
Contains the main flask app itself.
Contains list of packages and modules required to run the flask app. Edit only if you are using additional packages that need to be pip installed in order to run the project.
Contains the static images, CSS, & JS files used by the flask app for the webpage. Home.css is for the landing page, Results.css is for the landing page. Place all your images used for your website in static/images/.
Contains the HTML pages used for the webpage. Edit these to fit your project. writer_home.html is the landing page, Write-your-story-with-AI.html is the result page.
Do not touch these files.