Spaces:
Runtime error
Runtime error
FROM python:3.10 | |
# Install system dependencies | |
RUN apt-get update && apt-get install -y \ | |
git git-lfs ffmpeg libsm6 libxext6 cmake rsync libgl1-mesa-glx \ | |
&& rm -rf /var/lib/apt/lists/* | |
# Install Python dependencies | |
RUN pip install --no-cache-dir --upgrade pip | |
COPY requirements.txt . | |
RUN pip install --no-cache-dir -r requirements.txt | |
# Install LLaVA dependencies | |
RUN pip install --no-cache-dir git+https://github.com/haotian-liu/LLaVA.git | |
# Set working directory | |
WORKDIR /app | |
# Set default command | |
CMD ["python", "app.py"] # Change "app.py" to your script's entry point | |