Two runtime errors observed on the live Space:
1. libGLESv2.so.2 missing β added libgles2 + libegl1 to apt-get install.
MediaPipe needs both the OpenGL and OpenGL ES variants on Linux.
2. AttributeError: module 'mediapipe' has no attribute 'solutions' β
MediaPipe 0.10.15+ deprecated the legacy `mp.solutions` namespace; the
Holistic solution moved to mediapipe-extended. Production fingerspelling
already uses the Tasks API (signbridge.recognizer.landmark_classifier),
so the Holistic-based pose-debug overlay is now optional. landmarks.py
handles the missing namespace gracefully β logs and returns early
instead of crashing the Space's import path.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
fix: share=True + SPACE_ID env to skip gradio's localhost-check pre-flight
The "When localhost is not accessible" error is from
gradio.networking._check_localhost, which is short-circuited when
gradio sees os.environ['SYSTEM']=='spaces'. The HF gradio-SDK runtime
sets this automatically; the docker-SDK runtime does not, so we set it
both in the Dockerfile and as a defensive setdefault inside app.py.
Also: docs (CLAUDE.md progress log, walkthrough, pitch deck, lablab
submission form) updated to reflect the LoRA fine-tune win
(92.3% transformers eval, 54-min train on MI300X) and the hybrid
MediaPipe+MLP / fine-tuned-Qwen3-VL pipeline.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
fix: switch to Docker SDK so Python + launch are fully under our controlβ
Gradio 4.44.1 + HF default Python 3.13 hit ModuleNotFoundError(pyaudioop)
because pyaudioop was removed from stdlib in 3.13 β and pydub (gradio's
audio dep) hardcodes that import. Pinning python_version to 3.10/3.11
exposed a separate gradio runtime issue ('localhost not accessible').
Switching to Docker SDK (python:3.11-slim) gives us:
- working pydub / gradio audio
- mediapipe wheel installs cleanly (no 3.13 wheel exists yet)
- explicit GRADIO_SERVER_NAME=0.0.0.0 and port 7860
- predictable layered build (cached pip install of requirements.txt)
app.py keeps its env-driven server_name/port for parity with the
Dockerfile defaults.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>