Spaces:
Sleeping
Sleeping
image resize
Browse files
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
title: Clip Dinoiser
|
3 |
-
emoji:
|
4 |
colorFrom: gray
|
5 |
colorTo: pink
|
6 |
sdk: gradio
|
|
|
1 |
---
|
2 |
title: Clip Dinoiser
|
3 |
+
emoji: ππ¦
|
4 |
colorFrom: gray
|
5 |
colorTo: pink
|
6 |
sdk: gradio
|
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((
|
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, 50))
|
68 |
|
69 |
image = image.convert("RGB")
|
70 |
text_prompts = text_prompts.split(",")
|