Spaces:
Sleeping
Sleeping
Upload 4 files
Browse filesFiles changed (4)
- DockerfileAdded+12
- README.md+20-6
- requirements.txtAdded+11
- site.tar.gzAdded+3
123456789101112FROM python:3.13-slimRUN useradd -m -u 1000 user && mkdir -p /home/user/app && chown user:user /home/user/appWORKDIR /home/user/appCOPY requirements.txt /tmp/requirements.txtRUN pip install --no-cache-dir torch==2.14.0 --index-url https://download.pytorch.org/whl/cpuRUN pip install --no-cache-dir -r /tmp/requirements.txtCOPY --chown=user:user site.tar.gz /tmp/site.tar.gzUSER userRUN tar -xzf /tmp/site.tar.gz -C /home/user/appENV HOME=/home/user DEVICE=cpu LOCAL_MODE=0 OMP_NUM_THREADS=2 MKL_NUM_THREADS=2 PYTHONUNBUFFERED=1 HF_HUB_DISABLE_TELEMETRY=1EXPOSE 7860CMD ["python", "bootstrap.py"]1234567891011---title: MRI Recurrence Riskemoji: 👁colorFrom: pinkcolorTo: graysdk: dockerpinned: falseshort_description: Breast MRI multimodal recurrence risk research tool---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference12345678910111213141516171819202122232425---title: MRI Recurrence Researchemoji: 🧲colorFrom: greencolorTo: graysdk: dockerapp_port: 7860---# MRI recurrence research inferenceResearch-only post-treatment multimodal inference. Not validated for diagnosis,treatment selection or clinical deployment. Use only authorized, de-identifiedresearch inputs. Uploaded data are processed on Hugging Face-hosted hardware,not in the visitor's browser. Provider policies apply; this is not a claim ofcertified medical-data compliance.Real patient samples, the reference report library, patient-level score rankingsand reference clinical outcomes are not included. The sample is synthetic.Model weights and tokenizer assets must be fetched from a private model repo.Aggregate training baseline and conditional risk-curve intervals are included.See DEPLOY_GUIDE.txt. This is a deployment candidate, not an already deployedservice. Configure credentials via Secrets, never source files. Test privatelyon selected GPU hardware before switching the Space visibility to public.
1234567891011# Matches versions in the working Mac environment; Linux/GPU build must be verified on Spaces.torch==2.14.0transformers==5.17.0numpy==2.5.3fastapi==0.115.14starlette==0.46.2uvicorn==0.34.3python-multipart==0.0.32nibabel==5.4.2scikit-image==0.26.0huggingface-hub==1.31.0123version https://git-lfs.github.com/spec/v1oid sha256:63e3195b0a5f2da105e5ab6ef8da2a42f0e57dd24299af0d7c21c0759853361csize 2844677DockerfileAdded+12
README.md+20-6
requirements.txtAdded+11
site.tar.gzAdded+3