ReadyVI / README.md
kjbytes's picture
Add initial implementation of FastAPI app with Docker support and update README
df1fa7f
|
Raw History Blame Contribute Delete
567 Bytes
metadata
title: QwenLLM
emoji: 💻
colorFrom: purple
colorTo: pink
sdk: docker
app_port: 7860
pinned: false

FastAPI server for SmolVLM2-500M-Video-Instruct (CPU, free tier).

POST /generate (multipart): prompt (required), images (0–20 files, ≤10MB each), max_new_tokens (default 256).

curl -X POST https://d3evil4-qwenllm.hf.space/generate \
  -F "prompt=Describe these images" \
  -F "images=@a.jpg" -F "images=@b.jpg"

Docs: /docs. Test locally: python test_app.py.