rathapech commited on
Commit
a663847
·
verified ·
1 Parent(s): 5ba51aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -7,11 +7,8 @@ itt_pipe = pipeline("image-to-text",
7
 
8
 
9
  text = gr.Interface(
10
- fn=itt_pipe,
11
- inputs=gr.Image(label="Input image",
12
- type="pil"),
13
- outputs=gr.Image(label="Text describe the image",
14
- type="pil")
15
  )
16
  text.launch()
17
  print(text)
 
7
 
8
 
9
  text = gr.Interface(
10
+ fn=itt_pipe,
11
+ inputs=gr.Image(label="Input image", type="pil"), outputs=gr.Image(label="Text describe the image", type="pil")
 
 
 
12
  )
13
  text.launch()
14
  print(text)