ih
, as a service.
This code deploys ih
, as a Cloud Run service.
git clone https://github.com/glasnt/ih-aas
cd ih-aas
Then either:
python app.py
or
docker build --no-cache -t ih-aas . && docker run --rm -p 8080:8080 ih-aas
curl -F 'image=@/path/to/image.png' http://localhost:8080 -F 'palette=lego' -F 'render=True'