Spaces:
Sleeping
Sleeping
MeetInCode commited on
Commit ·
f084a87
1
Parent(s): 409a724
Remove Dockerfile and update requirements.txt to include 'tf-keras' and specify 'keras<3'
Browse files- Dockerfile +0 -12
- requirements.txt +3 -1
Dockerfile
DELETED
|
@@ -1,12 +0,0 @@
|
|
| 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 |
-
EXPOSE 7860
|
| 11 |
-
|
| 12 |
-
CMD ["python", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
requirements.txt
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
torch
|
| 2 |
transformers
|
| 3 |
tensorflow
|
| 4 |
-
gradio
|
|
|
|
|
|
|
|
|
| 1 |
torch
|
| 2 |
transformers
|
| 3 |
tensorflow
|
| 4 |
+
gradio
|
| 5 |
+
tf-keras
|
| 6 |
+
keras<3
|