Spaces:
Sleeping
Sleeping
Commit History
-
Fix runtime: upgrade to actively-maintained gradio 6.26.0 instead of patching legacy 4.44.1 stack
prashanth-ds-ml +1: Claude Sonnet 5Pinning individual transitive deps (huggingface_hub, pydantic) against gradio==4.44.1 turned into whack-a-mole: each fix surfaced a new incompatibility with today's PyPI-latest packages (audioop/python 3.13, HfFolder removal, pydantic JSON-schema regression, and finally a Jinja2/TemplateResponse "unhashable dict" crash in gradio_client's bundled routes on the resolved starlette version). Verified locally end-to-end (real app.py, real YOLO + ResNet50 weights, real sample image via gradio_client) that gradio==6.26.0 resolves a clean, mutually-compatible dependency set with no manual pins needed for fastapi/starlette/pydantic/huggingface_hub. sdk_version bumped to match. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TjcgYCZjyAPxP1vq8X9VTna0db70b
-
Fix runtime: pin pydantic to a version gradio 4.44.1's schema parser supports
prashanth-ds-ml +1: Claude Sonnet 5requirements.txt didn't pin pydantic, so pip installed a version >=2.10, which changed generated JSON schemas to emit additionalProperties as a bare bool instead of a dict/object. gradio 4.44.1's bundled gradio_client (_json_schema_to_python_type) assumes a dict and crashes with "TypeError: argument of type 'bool' is not iterable" while building API info during demo.launch(), which cascades into a spurious "localhost not accessible" ValueError and a fatal startup crash (RUNTIME_ERROR). Pinning pydantic==2.9.2 (pre-regression) is the widely-documented fix for this gradio_client/pydantic incompatibility. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TjcgYCZjyAPxP1vq8X9VTne3a6720 -
Fix runtime: pin huggingface_hub to a version gradio 4.44.1 supports
prashanth-ds-ml +1: Claude Sonnet 5requirements.txt didn't pin huggingface_hub, so pip installed the latest release. gradio 4.44.1's oauth.py does 'from huggingface_hub import HfFolder, whoami' -- HfFolder was removed in newer huggingface_hub releases, causing ImportError at app startup (RUNTIME_ERROR). Pinning to 0.25.2, which predates the removal and is compatible with gradio 4.44.1. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TjcgYCZjyAPxP1vq8X9VTn917e230 -
Fix runtime: pin python_version 3.11 (audioop removed in 3.13)
prashanth-ds-ml +1: Claude Sonnet 5Base image was resolving to Python 3.13, which dropped the stdlib audioop module. Gradio's processing_utils imports pydub unconditionally (for its audio components), which imports audioop -> ModuleNotFoundError at app startup (RUNTIME_ERROR), even though this app has no audio components. Pinning python_version keeps the Space on a version where audioop still ships in the stdlib. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TjcgYCZjyAPxP1vq8X9VTn74a12bc -
Fix build: align sdk_version with requirements.txt gradio pin
prashanth-ds-ml +1: Claude Sonnet 5sdk_version 4.0.0 forced the build's pip install to request gradio[oauth]==4.0.0 alongside requirements.txt's gradio==4.44.1 in the same command, causing a dependency resolution conflict (BUILD_ERROR, exit code 1) once Docker layer caching was invalidated by the prior README-only commit. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TjcgYCZjyAPxP1vq8X9VTn7110fec -
Add Space description, test-image pointer, and source link
prashanth-ds-ml +1: Claude Sonnet 5Documents what the Space does, links back to the GitHub source repo, and points testers at the TXL-PBC dataset for sample smear images. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TjcgYCZjyAPxP1vq8X9VTn4062e08
-
Upload WBC differential references.csv
Verified signature6d3e2be -
Update app.py
Verified signatureef29459 -
Update requirements.txt
Verified signature893d4a2 -
Update app.py
Verified signaturefd8bc35 -
Update app.py
Verified signature256b336 -
Update app.py
Verified signature0ed7ef4 -
Update requirements.txt
Verified signature573f21d -
Add WBC classifier checkpoint via Git LFS
958118b -
Upload best_model_checkpoint.pth
Verified signature55b7003 -
Update utils/classifier.py
Verified signature6f2da8f -
Upload 15 files
Verified signature2c2fc49 -
Update requirements.txt
Verified signaturef705925 -
Update README.md
Verified signaturec6692a9 -
Upload 11 files
Verified signature344f0b4
-
initial commit
Verified signature8bf00c4