Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ MODEL_PATH = "geshang/Seg-R1-7B"
|
|
66 |
SAM_CHECKPOINT = "sam2_weights/sam2.1_hiera_large.pt"
|
67 |
|
68 |
DEVICE = "cuda" #if torch.cuda.is_available() else "cpu"
|
69 |
-
RESIZE_SIZE = (
|
70 |
|
71 |
try:
|
72 |
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
|
|
|
66 |
SAM_CHECKPOINT = "sam2_weights/sam2.1_hiera_large.pt"
|
67 |
|
68 |
DEVICE = "cuda" #if torch.cuda.is_available() else "cpu"
|
69 |
+
RESIZE_SIZE = (1024, 1024)
|
70 |
|
71 |
try:
|
72 |
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
|