abdulsamad commited on
Commit
b56b22d
·
1 Parent(s): 4501c68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -69,7 +69,7 @@ def captioner(image):
69
  return result[0]['generated_text']
70
 
71
  gr.close_all()
72
- demo = gr.Interface(fn=captioner,
73
  inputs=[gr.Image(label="Upload image", type="pil")],
74
  outputs=[gr.Textbox(label="Caption")],
75
  title="Image Captioning with BLIP",
 
69
  return result[0]['generated_text']
70
 
71
  gr.close_all()
72
+ demo = gr.Interface(fn=get_completion,
73
  inputs=[gr.Image(label="Upload image", type="pil")],
74
  outputs=[gr.Textbox(label="Caption")],
75
  title="Image Captioning with BLIP",