One-line code api for model
Closed this issue · 2 comments
Dimlife commented
Hi, thanks for sharing the amazing work!
I am wondering could we have an one-line-command build or a simple api of the model?
Really appreciate that.
niki-amini-naieni commented
Hi @Dimlife, thank you for the comment! Have you seen the Hugging Face app that includes simple code in the file app.py as well as a user friendly tutorial and interface to test the model? It is available here: https://huggingface.co/spaces/nikigoli/countgd. You can run the app with the docker command below from hugging face.
docker run -it -p 7860:7860 --platform=linux/amd64 --gpus all \
registry.hf.space/nikigoli-countgd:latest python app.py
Dimlife commented
Got this. Thank you very much for replying!