Spaces:
Running
Running
Update process.py
Browse files- process.py +1 -1
process.py
CHANGED
@@ -172,7 +172,7 @@ def main(args):
|
|
172 |
# Create an instance of your model
|
173 |
model = load_seg_model(args.checkpoint_path, device=device)
|
174 |
|
175 |
-
palette = get_palette(
|
176 |
|
177 |
img = Image.open(args.image).convert('RGB')
|
178 |
|
|
|
172 |
# Create an instance of your model
|
173 |
model = load_seg_model(args.checkpoint_path, device=device)
|
174 |
|
175 |
+
palette = get_palette(1)
|
176 |
|
177 |
img = Image.open(args.image).convert('RGB')
|
178 |
|