How to Deploy a Gradio Face-Restoration App on Ubuntu 22.04 with Nginx and TLS
A new technical guide details how to build and deploy a face-restoration web app using the Gradio Python library and GFPGAN on an Ubuntu 22.04 server. The setup combines GFPGAN and Real-ESRGAN models to accept a face image as input and return two enhanced outputs through a browser-based interface. The application is configured to run persistently as a systemd service, ensuring it restarts automatically on failure or reboot. Nginx is then set up as a reverse proxy to route public web traffic to the Gradio app running locally on port 8080. The guide requires a GPU-enabled server, a registered domain name, and sudo access as baseline prerequisites.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in