chatgpt-plugin一些花活额外工具
pip install -r requirements.txt
mkdir -p data/upload
python main.py
运行在5000端口。目前默认使用CPU
POST http://127.0.0.1:5000/image-captioning
Form-Data
file: 图片文件
POST http://127.0.0.1:5000/visual-qa
Form-Data
file: 图片文件
q: 问题
https://huggingface.co/spaces/ikechan8370/cp-extra
duplicate部署使用,baseURL为https://-cp-extra.hf.space,用法和上面一样