File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM python:3.10-slim
22
33WORKDIR /app
4+ ENV PYTHONPATH=/app
45
56RUN apt-get update && apt-get install -y \
67 build-essential \
@@ -21,7 +22,6 @@ COPY . .
2122
2223RUN mkdir -p /app/checkpoints /app/outputs /app/logs
2324
24- # Download public checkpoint from Hugging Face
2525RUN curl -L "https://huggingface.co/idso-fa1-pathology/VitaminP/resolve/main/vitamin_p_flex.pth" \
2626 -o /app/checkpoints/vitamin_p_flex.pth
2727
Original file line number Diff line number Diff line change 22
33from fastapi import APIRouter , HTTPException
44
5- from ai_service . models .schemas import InferenceRequest , InferenceResponse
6- from ai_service . services .inference_service import run_inference_job
5+ from models .schemas import InferenceRequest , InferenceResponse
6+ from services .inference_service import run_inference_job
77
88router = APIRouter ()
99
You can’t perform that action at this time.
0 commit comments