edenehuyh commited on
Commit
a31e994
1 Parent(s): 579d0ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,8 +26,8 @@ model = model.to(device)
26
  # Deploy
27
  title = 'Image Captioning'
28
  description = 'Huỳnh Công Chánh'
29
- inputs = gr.inputs.Image(type='pil')
30
- outputs = gr.outputs.Textbox(label='Output')
31
 
32
  def inference(raw_image):
33
  image = transform(raw_image).unsqueeze(0).to(device)
 
26
  # Deploy
27
  title = 'Image Captioning'
28
  description = 'Huỳnh Công Chánh'
29
+ inputs = gr.Image(type='pil')
30
+ outputs = gr.Textbox(label='Output')
31
 
32
  def inference(raw_image):
33
  image = transform(raw_image).unsqueeze(0).to(device)