timothyoei/is_it_a_panda
0
Is It a Panda? Model
Usage
HuggingFace
Check out the app here
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Local Flask Server
Start the container and attach to it (e.g., vscode's remote container extension)
docker compose up -dActivate the virtual environment
micromamba activate venvStart the local flask server
python server.pyTest the model by sending image files to the API endpoint. An example is below:
curl -X POST -F "file=@./examples/panda.jpg" http://localhost:5000/api/predict