Spaces:
Sleeping
Sleeping
Commit
·
f111e23
1
Parent(s):
9e0ac6d
Fixed bug to handle temp correctly
Browse files
main.py
CHANGED
|
@@ -34,8 +34,8 @@ app.add_middleware(
|
|
| 34 |
allow_headers=["*"],
|
| 35 |
)
|
| 36 |
|
| 37 |
-
UPLOAD_DIR = Path("tmp")
|
| 38 |
-
UPLOAD_DIR.mkdir(exist_ok=True)
|
| 39 |
|
| 40 |
pipeline = None
|
| 41 |
|
|
|
|
| 34 |
allow_headers=["*"],
|
| 35 |
)
|
| 36 |
|
| 37 |
+
UPLOAD_DIR = Path("/tmp/deepdefend_uploads")
|
| 38 |
+
UPLOAD_DIR.mkdir(parents=True, exist_ok=True)
|
| 39 |
|
| 40 |
pipeline = None
|
| 41 |
|