paulccc commited on
Commit
889d6b9
·
verified ·
1 Parent(s): bcc7561

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -17,4 +17,5 @@ def launch(input):
17
  return out[0]['generated_text']
18
 
19
  #Define an interface
20
- interface=gr.Interface(fn=launch,inputs=gr.Image(type="pil"),outputs="text",title="Image Captioning with BLIP")
 
 
17
  return out[0]['generated_text']
18
 
19
  #Define an interface
20
+ interface=gr.Interface(fn=launch,inputs=gr.Image(type="pil"),outputs="text",title="Image Captioning with BLIP")
21
+ interface.launch