ariG23498 HF staff commited on
Commit
fdbd2a4
β€’
1 Parent(s): ca18783

change image resolution

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import gradio as gr
7
 
8
 
9
  def run_lang_sam(input_image, text_prompt, model):
10
- image = input_image.convert("RGB").resize((512, 512))
11
  masks, _, _, _ = model.predict(
12
  image,
13
  text_prompt
 
7
 
8
 
9
  def run_lang_sam(input_image, text_prompt, model):
10
+ image = input_image.convert("RGB").resize((256, 256))
11
  masks, _, _, _ = model.predict(
12
  image,
13
  text_prompt