Spaces:
Runtime error
Runtime error
| FROM python:3.10 | |
| # Set up environment | |
| WORKDIR /code | |
| COPY . /code | |
| # Install dependencies including 'spaces' | |
| RUN pip install --upgrade pip | |
| RUN pip install gradio==3.50.2 transformers torch accelerate spaces | |
| # Expose the default Gradio port | |
| EXPOSE 7860 | |
| # Run the app | |
| CMD ["python", "app.py"] | |