Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -4,9 +4,8 @@ from PIL import Image
|
|
4 |
import numpy as np
|
5 |
import time
|
6 |
import os
|
|
|
7 |
|
8 |
-
# --- Import Custom Pipelines ---
|
9 |
-
# Ensure these files are in the same directory or accessible in PYTHONPATH
|
10 |
try:
|
11 |
from gen2seg_sd_pipeline import gen2segSDPipeline
|
12 |
from gen2seg_mae_pipeline import gen2segMAEInstancePipeline
|
|
|
4 |
import numpy as np
|
5 |
import time
|
6 |
import os
|
7 |
+
import spaces
|
8 |
|
|
|
|
|
9 |
try:
|
10 |
from gen2seg_sd_pipeline import gen2segSDPipeline
|
11 |
from gen2seg_mae_pipeline import gen2segMAEInstancePipeline
|