ariG23498 HF staff commited on
Commit
a8be4c6
Β·
1 Parent(s): 03067d6

image resize

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +1 -1
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((400, 700))
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(",")