AkashDataScience commited on
Commit
eaa892e
·
1 Parent(s): c921c68

Updating image size

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -43,12 +43,12 @@ examples = [["image_1.jpg", 0.25, 0.45, 'A black tire'],
43
  ["image_10.jpg", 0.25, 0.45, 'A rope railing']]
44
 
45
  demo = gr.Interface(inference,
46
- inputs = [gr.Image(width=640, height=640, label="Input Image"),
47
  gr.Slider(0, 1, 0.25, label="Confidence Threshold"),
48
  gr.Slider(0, 1, 0.45, label="IoU Thresold"),
49
  gr.Textbox(label="Enter text promp", type="text"),],
50
- outputs= [gr.Image(width=640, height=640, label="Output SAM"),
51
- gr.Image(width=640, height=640, label="Output text prompt")],
52
  title=title,
53
  description=description,
54
  examples=examples)
 
43
  ["image_10.jpg", 0.25, 0.45, 'A rope railing']]
44
 
45
  demo = gr.Interface(inference,
46
+ inputs = [gr.Image(width=320, height=320, label="Input Image"),
47
  gr.Slider(0, 1, 0.25, label="Confidence Threshold"),
48
  gr.Slider(0, 1, 0.45, label="IoU Thresold"),
49
  gr.Textbox(label="Enter text promp", type="text"),],
50
+ outputs= [gr.Image(width=320, height=320, label="Output SAM"),
51
+ gr.Image(width=320, height=320, label="Output text prompt")],
52
  title=title,
53
  description=description,
54
  examples=examples)