Spaces:
No application file
No application file
Update README.md
Browse files
README.md
CHANGED
@@ -9,3 +9,25 @@ short_description: Make short films with he help of AI
|
|
9 |
---
|
10 |
|
11 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
---
|
10 |
|
11 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
12 |
+
# Use a base image with GPU support
|
13 |
+
FROM nvidia/cuda:11.8.0-devel-ubuntu22.04
|
14 |
+
|
15 |
+
# Install Python and system dependencies
|
16 |
+
RUN apt-get update && apt-get install -y \
|
17 |
+
python3 python3-pip ffmpeg git curl
|
18 |
+
|
19 |
+
# Install Python dependencies
|
20 |
+
COPY requirements.txt /app/requirements.txt
|
21 |
+
RUN pip3 install --no-cache-dir -r /app/requirements.txt
|
22 |
+
|
23 |
+
# Copy application code
|
24 |
+
COPY . /app
|
25 |
+
|
26 |
+
# Set the working directory
|
27 |
+
WORKDIR /app
|
28 |
+
|
29 |
+
# Expose app port
|
30 |
+
EXPOSE 8000
|
31 |
+
|
32 |
+
# Start the application
|
33 |
+
CMD ["python3", "app.py"]
|