Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 407 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 407 Bytes

CLIP-APP

prerequisite

git clone --recursive https://github.com/HephaestusProject/CLIP-APP.git
pip install -r server/requirements.txt

server

PYTHONPATH=.:./server/CLIP python server/app.py

client

curl -X POST -H "Content-Type: application/json" 127.0.0.1:5000/pred/custom -d "{\"image_path\": \"CLIP.png\", \"texts\": [\"a diagram\", \"a dog\", \"a cat\"]}"