Spaces:
Running
Running
Robert commited on
Commit ·
de706a2
1
Parent(s): f3a9db6
Test SHA commit
Browse files- Dockerfile +1 -1
- app.py +1 -1
- test_compress.py → s3.py +0 -0
Dockerfile
CHANGED
|
@@ -39,7 +39,7 @@ RUN mkdir -p /tmp/model /tmp/huggingface /tmp/.cache /tmp/.gradio /tmp/.gradio/c
|
|
| 39 |
|
| 40 |
COPY --from=builder /app/venv venv
|
| 41 |
|
| 42 |
-
COPY app.py models.py test_functions.py
|
| 43 |
COPY examples/ /app/examples/
|
| 44 |
COPY assets/ /app/assets/
|
| 45 |
|
|
|
|
| 39 |
|
| 40 |
COPY --from=builder /app/venv venv
|
| 41 |
|
| 42 |
+
COPY app.py models.py test_functions.py s3.py ./
|
| 43 |
COPY examples/ /app/examples/
|
| 44 |
COPY assets/ /app/assets/
|
| 45 |
|
app.py
CHANGED
|
@@ -12,7 +12,7 @@ from dotenv import load_dotenv
|
|
| 12 |
|
| 13 |
load_dotenv()
|
| 14 |
|
| 15 |
-
from
|
| 16 |
|
| 17 |
# Model download & caching directory (created in Dockerfile)
|
| 18 |
MODEL_DIR = "/tmp/model"
|
|
|
|
| 12 |
|
| 13 |
load_dotenv()
|
| 14 |
|
| 15 |
+
from s3 import build_context, imagine
|
| 16 |
|
| 17 |
# Model download & caching directory (created in Dockerfile)
|
| 18 |
MODEL_DIR = "/tmp/model"
|
test_compress.py → s3.py
RENAMED
|
File without changes
|