Spaces:
Runtime error
Runtime error
| FROM python:3.9-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy requirements file | |
| COPY requirements.txt . | |
| # Install dependencies | |
| RUN pip install -r requirements.txt | |
| # Copy model and application files | |
| COPY . /app | |
| # Expose port | |
| EXPOSE 7860 | |
| # Set environment variables | |
| ENV MODEL_PATH=/models/Model_A1_7CB_Appr_D.pt | |
| # Run the application | |
| CMD ["python", "/app/app.py"] | |