MedGRPO-Demo / app.py

Commit History

Pass VideoMetadata so timestamps match real time
8b894ad
Running

gaozhongpai Claude Opus 4.7 (1M context) commited on

Switch live demo to uAI-NEXUS-MedVLM-1.0b-4B-RL (Qwen3-VL-4B)
fa251de

gaozhongpai Claude Opus 4.7 (1M context) commited on

Update HF model link to uAI-NEXUS-MedVLM-1.0a-7B-RL
00d1dd0

gaozhongpai Claude Opus 4.7 (1M context) commited on

Add Model link to header
65fecab

gaozhongpai Claude Opus 4.6 (1M context) commited on

Fix: use unified processor() call for text+video tokenization
8c5c6e8

gaozhongpai Claude Opus 4.6 (1M context) commited on

Fix: load model to CPU, move to CUDA inside @spaces.GPU context
4485efe

gaozhongpai Claude Opus 4.6 (1M context) commited on

Load model with .to('cuda') for ZeroGPU compatibility
6718a30

gaozhongpai Claude Opus 4.6 (1M context) commited on

Add detailed logging to run_inference for debugging
a5f8edd

gaozhongpai Claude Opus 4.6 (1M context) commited on

Align inference pipeline with LlamaFactory Qwen3VL flow
310f8fe

gaozhongpai Claude Opus 4.6 (1M context) commited on

Unpack video_kwargs list values to scalars for processor
07c6d29

gaozhongpai Claude Opus 4.6 (1M context) commited on

Load model to CPU, move to GPU inside @spaces.GPU context
56951a1

gaozhongpai Claude Opus 4.6 (1M context) commited on

Add offload_folder for disk weight offloading during model load
192f391

gaozhongpai Claude Opus 4.6 (1M context) commited on

Add HF_TOKEN debug log for auth troubleshooting
f951e2e

gaozhongpai commited on

Large thumbnail cards with both image and button clickable
7c7e7e6

gaozhongpai commited on

Make entire example card clickable using Button with icon
a5e5d20

gaozhongpai commited on

Fix: return PIL Images instead of paths for Gallery update
12cf09a

gaozhongpai commited on

Fix live example: use non-interactive Gallery, robust frame parsing
fead60d

gaozhongpai commited on

Fix live example loading: use gr.update and factory function for proper state update
f57d572

gaozhongpai commited on

Rename Max Tokens to Max Response Length, hide in accordion
ea74719

gaozhongpai commited on

Replace dropdown with clickable thumbnail cards for live examples
a357a6b

gaozhongpai commited on

Add 2 clickable live examples (TAL, Dense Captioning) for live inference tab
f53c6c9

gaozhongpai commited on

Extract at 1fps, support up to 60 frames (1 min video)
2a77b9c

gaozhongpai commited on

Remove unused sample_fps (no effect on PIL image inputs)
daf9f6f

gaozhongpai commited on

Remove flash-attn, use sdpa attention instead
501b5ff

gaozhongpai commited on

Add live inference tab with ZeroGPU support
c8cb1c8

gaozhongpai commited on

Initial MedVidQA demo: 8 medical video tasks with Qwen3.5-VL predictions
2e5766d

gaozhongpai commited on