Spaces:
Runtime error
Runtime error
Download Dockerfile from Peeble/MP3-Text-To-AI-MP4-Video: direct link, hf CLI and curl.
- Browser
- Download file 456 Bytes
-
https://huggingface.co/spaces/Peeble/MP3-Text-To-AI-MP4-Video/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Peeble/MP3-Text-To-AI-MP4-Video/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Peeble/MP3-Text-To-AI-MP4-Video/resolve/main/Dockerfile
456 Bytes
| # Use an official Python runtime as the base image | |
| FROM python:3.9 | |
| # Set the working directory in the container | |
| WORKDIR /app | |
| # Copy the current directory contents into the container | |
| COPY . /app | |
| # Install dependencies | |
| RUN apt-get update && apt-get install -y ffmpeg | |
| RUN pip install --no-cache-dir torch diffusers transformers scipy gradio ffmpeg-python | |
| # Expose port 7860 for Gradio | |
| EXPOSE 7860 | |
| # Command to run the Gradio app | |
| CMD ["python", "app.py"] | |