https://github.com/assemblyai-community/flask-gpu-app
Example app that demonstrates how to run a Flask app with a free GPU using Google Colab and ngrok
https://github.com/assemblyai-community/flask-gpu-app
Last synced: 11 months ago
JSON representation
Example app that demonstrates how to run a Flask app with a free GPU using Google Colab and ngrok
- Host: GitHub
- URL: https://github.com/assemblyai-community/flask-gpu-app
- Owner: AssemblyAI-Community
- Created: 2023-02-13T19:36:33.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-16T20:51:25.000Z (over 3 years ago)
- Last Synced: 2024-06-24T19:02:42.498Z (about 2 years ago)
- Language: CSS
- Size: 5.86 KB
- Stars: 41
- Watchers: 2
- Forks: 27
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flask GPU app
Example app that demonstrates how to run a Flask app with a free GPU using Google Colab and ngrok.
- Read the blog post: [free stable diffusion app with a gpu backend](https://www.assemblyai.com/blog/build-a-free-stable-diffusion-app-with-a-gpu-backend/)
- Watch the YouTube tutorial: [https://youtu.be/wBCEDCiQh3Q](https://youtu.be/wBCEDCiQh3Q)
## Instructions
- Open the Colab: [](https://colab.research.google.com/github/AssemblyAI-Examples/flask-gpu-app/blob/main/notebook.ipynb)
- Go to [ngrok.com](ngrok.com), get a free API token, and in the Colab replace`YOUR-AUTHTOKEN-HERE` with the token.
- Set the runtime to GPU
- Click on `Runtime -> Run all`
- In the output cell you should see a url similar to this: Running on `http://5fdc-104-196-187-169.ngrok.io`. Open this url and use your app.