Gradio based image input-process-output template. There is nothing new in this repo. It's just a simpliest demo of the Gradio for the purpose of image uploading, processing, and display the result.
Gradimio is derived from Gradio + image + input-process-output. Yes, that's it!
- Clone this repo and get into it
git clone https://github.com/geeksloth/gradimio.git && cd gradimio
- Run the container
docker-compose up
- Access it via your browser:
127.0.0.1:7860
- Build your own Docker image from provied Dockerfile:
docker build -t gradimio --network=host .
- Run the container from previous built image, and also binding the current directory into it.
docker run -it --rm --name=gradimio -p 7860:7860 -v $PWD:/gradimio gradimio:latest bash
and then run your script eg. python3 main.py