Spaces:
Running on Zero
Running on Zero
Commit History
-
Ship the API examples and the local vision-path verifier Running
Two scripts that were previously kept out of the repo, plus the API docs they document. api_examples.py All four ways to call /respond: gradio_client, the raw two-step HTTP route (POST /gradio_api/call/v2/respond -> GET .../respond/{event_id} over SSE), the MCP server, and the attachment contract. Also documents the quota model, which is the thing that actually bites: ZeroGPU charges the reservation rather than the time used, and an anonymous visitor gets 2 minutes a day, so a handful of calls exhausts it. Passing hf_token= to the client moves the quota onto your own account. Note the SSE parser uses rstrip("\r\n"), not rstrip("\n"). Gradio sends CRLF, and a stray \r makes the blank-line test never fire - the stream then yields nothing at all and silently returns an empty list. verify_vision_local.py Runs the real app.py against real weights, without a GPU and without spending ZeroGPU quota. Qwen/Qwen3.5-0.8B shares this architecture family - both report Qw…5d7ffac