Mohammed Foud commited on
Commit ·
77d2ae2
1
Parent(s): 726a02a
Add application file
Browse files- Dockerfile +1 -1
- app.py +2 -2
Dockerfile
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
# Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
| 2 |
# you will also find guides on how best to write your Dockerfile
|
| 3 |
|
| 4 |
-
FROM python:3.
|
| 5 |
|
| 6 |
# Install system dependencies
|
| 7 |
RUN apt-get update && \
|
|
|
|
| 1 |
# Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
| 2 |
# you will also find guides on how best to write your Dockerfile
|
| 3 |
|
| 4 |
+
FROM python:3.12-slim
|
| 5 |
|
| 6 |
# Install system dependencies
|
| 7 |
RUN apt-get update && \
|
app.py
CHANGED
|
@@ -276,5 +276,5 @@ def download(filename):
|
|
| 276 |
as_attachment=True
|
| 277 |
)
|
| 278 |
|
| 279 |
-
|
| 280 |
-
|
|
|
|
| 276 |
as_attachment=True
|
| 277 |
)
|
| 278 |
|
| 279 |
+
if __name__ == '__main__':
|
| 280 |
+
app.run(debug=True)
|