Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|