qwen25-api / README.md
dragonjump
update'
1347859
|
raw
history blame
1.71 kB
metadata
title: Qwen25 Api
emoji: πŸŒ–
colorFrom: green
colorTo: green
sdk: docker
pinned: false
license: apache-2.0

curl -X GET "http://localhost:8000/predict?image_url=https://example.com/sample-image.jpg&prompt=Describe%20the%20contents%20of%20this%20image." -H "accept: application/json"

curl -X GET "http://localhost:8000/chat?prompt=Hello%20there%2C%20how%20are%20you%3F" -H "accept: application/json"

Check out the configuration reference at https://huggingface.co./docs/hub/spaces-config-reference

curl -G "https://lseanlon-qwen25-api.hf.space/predict"
--data-urlencode "image_url=https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-VL/assets/demo.jpeg"
--data-urlencode "prompt=Describe this image."

curl -G "https://lseanlon-qwen25-api.hf.space/"
--data-urlencode "image_url=https://huggingface.co./front/assets/huggingface_logo-noborder.svg"
--data-urlencode "prompt=Describe this image."

curl -G "https://lseanlon-qwen25-api.hf.space/predict"
--data-urlencode "image_url=https://images.all-free-download.com/images/thumbjpg/cat_hangover_relax_213869.jpg"
--data-urlencode "prompt=Describe this image."

curl -G "https://lseanlon-qwen25-api.hf.space/chat"
--data-urlencode "prompt=why is the sky blue?"

FROM qwen2.5-coder:7b PARAMETER num_ctx 48000

ollama create -f ZModelfile qwen2.5:latest-custom

curl http://localhost:11434/api/chat -d '{ "model": "qwen2.5:latest", "messages": [ { "role": "user", "content": "why is the sky blue?" } ] }'

curl https://dry-taxes-fold.loca.lt/api/chat -d '{ "model": "qwen2.5:latest", "messages": [ { "role": "user", "content": "why is the sky blue?" } ] }'