Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 915 Bytes

README.md

File metadata and controls

32 lines (25 loc) · 915 Bytes

GPT2-Web

A flask application that uses DialoGPT model.

Try it!

Note: The model takes about 1 min to load. It will be improved.

https://flask-service-iolnexrvpa-ue.a.run.app

Steps to Deploy:

  1. Create docker image
   cd <project-directory>
   docker build -t <name> .
  1. Test if it works by running
   docker run -p 8080:8080 <image-name>
  1. Create a Google Cloud account, new project and install the CLI

  2. Deploy it!

   cd <project-directory>
   gcloud builds submit --tag gcr.io/<project-name-ID>/<image>
   gcloud run deploy --image gcr.io/<project-name-ID>/<image> --cpu 2.0 --memory 8Gi

Example Output:

ezgif.com-crop.1.mp4

"Buy Me A Coffee"