CoolFace
Apppublic

timothyoei/is_it_a_panda

sourceHugging Facemitupdated 3y agoView on Hugging Face
0likes
App README

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 -d

Activate the virtual environment

micromamba activate venv

Start the local flask server

python server.py

Test 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