Spaces:
Paused
Paused
Bitsage commited on
Commit ·
ded4d37
1
Parent(s): a50ed01
Force Python 3.11 via Dockerfile to fix audioop/pydub compatibility
Browse files- Dockerfile +10 -0
- requirements.txt +1 -0
Dockerfile
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.11-slim
|
| 2 |
+
|
| 3 |
+
WORKDIR /app
|
| 4 |
+
|
| 5 |
+
COPY requirements.txt .
|
| 6 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 7 |
+
|
| 8 |
+
COPY . .
|
| 9 |
+
|
| 10 |
+
CMD ["python", "app.py"]
|
requirements.txt
CHANGED
|
@@ -1,3 +1,4 @@
|
|
| 1 |
gradio==4.44.0
|
| 2 |
huggingface_hub==0.24.0
|
| 3 |
requests==2.31.0
|
|
|
|
|
|
| 1 |
gradio==4.44.0
|
| 2 |
huggingface_hub==0.24.0
|
| 3 |
requests==2.31.0
|
| 4 |
+
pydub==0.25.1
|