Simple Flask app to restore old photos with AI. It uses the GFPGAN model on Replicate.
pip install flask replicate python-dotenv
You need a Replicate API Token (You can get started for free). Put the token in the .env
file.
Then start the app, upload a photo, and have fun!
python main.py
- Inspired by restorephotos.io
- https://github.com/TencentARC/GFPGAN