Spaces:
Configuration error
Configuration error
Commit ·
8388487
1
Parent(s): 6e2cc1a
add api files
Browse files- .gitattributes +1 -0
- Dockerfile +14 -0
.gitattributes
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
Dockerfile
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
FROM python:3.12.2
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
COPY . .
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
WORKDIR /
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|