Spaces:
Sleeping
Sleeping
image resize
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ def load_model():
|
|
64 |
|
65 |
def run_clip_dinoiser(input_image, text_prompts, model, device, colors):
|
66 |
# Resize the input image
|
67 |
-
image = input_image.resize((350,
|
68 |
|
69 |
image = image.convert("RGB")
|
70 |
text_prompts = text_prompts.split(",")
|
|
|
64 |
|
65 |
def run_clip_dinoiser(input_image, text_prompts, model, device, colors):
|
66 |
# Resize the input image
|
67 |
+
image = input_image.resize((350, 350))
|
68 |
|
69 |
image = image.convert("RGB")
|
70 |
text_prompts = text_prompts.split(",")
|