Skip to content

Gradio

The source code for the web app and API can be found here Pteredactyl_Gradio_Web_App.

Deploying Gradio App from source

To deploy a gradio app is fairly simple. First clone the git repository:

git clone {git repo}

Then navigate into the src/pteredactyl_webapp directory and making sure poetry is installed first set up the poetry venv as follows:

poetry shell
poetry install

Then to run the app you call

python app.py

and the app will run. If you want to see the gradio-deployed production version you can play with it here:

This webapp is already available online as a gradio app on Huggingface: Huggingface Gradio App.