Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,11 @@
|
|
1 |
-
|
2 |
|
3 |
-
|
4 |
-
file_paths = [file.name for file in files]
|
5 |
-
return file_paths
|
6 |
|
7 |
-
|
8 |
-
gr.Image(label="Upload an Image")
|
9 |
|
10 |
-
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.9-slim
|
2 |
|
3 |
+
WORKDIR /app
|
|
|
|
|
4 |
|
5 |
+
COPY requirements.txt .
|
|
|
6 |
|
7 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
8 |
+
|
9 |
+
COPY app.py .
|
10 |
+
|
11 |
+
CMD ["python", "app.py"]
|