Spaces:
Sleeping
Sleeping
Commit History
-
Fix deprecation warnings, CPU batch size, and root route
- torch_dtype → dtype in from_pretrained and pipeline (transformers 4.49+) - Move max_new_tokens to generate_kwargs in pipeline constructor to silence generation_config conflict warning - batch_size: 16 → 2 on CPU (16 parallel chunks wastes RAM, not faster), keep 8 on CUDA - Add GET / → redirect to /docs so HF Space health probes return 200 instead of 404 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>9308938 -
Deploy to HF Spaces
0db822c