Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
fa660f0
1
Parent(s):
42bafca
Test correct path
Browse files
app.py
CHANGED
@@ -55,7 +55,9 @@ GROUNDINGDINO_CHECKPOINT = "groundingdino_swint_ogc.pth"
|
|
55 |
SAM_CHECKPOINT = 'sam_hq_vit_l.pth'
|
56 |
OUTPUT_DIR = "outputs"
|
57 |
FAL_KEY = os.getenv("FAL_KEY")
|
58 |
-
UPLOAD_DIR = "
|
|
|
|
|
59 |
|
60 |
# Global variables for model caching
|
61 |
_models = {
|
|
|
55 |
SAM_CHECKPOINT = 'sam_hq_vit_l.pth'
|
56 |
OUTPUT_DIR = "outputs"
|
57 |
FAL_KEY = os.getenv("FAL_KEY")
|
58 |
+
UPLOAD_DIR = "./tmp/images"
|
59 |
+
|
60 |
+
os.makedirs(UPLOAD_DIR, exist_ok=True)
|
61 |
|
62 |
# Global variables for model caching
|
63 |
_models = {
|