Spaces:
Runtime error
Runtime error
Commit ·
f4e9981
1
Parent(s): f554e5f
Upload folder using huggingface_hub
Browse files
image_caption/gradio_interface.py
CHANGED
|
@@ -13,7 +13,7 @@ from image_caption import get_caption
|
|
| 13 |
gr.Interface(fn=get_caption.get_image_caption,
|
| 14 |
inputs=gr.Image(type="pil"),
|
| 15 |
outputs=gr.Label(num_top_classes=3),
|
| 16 |
-
examples=["bathroom.jpg", "image_caption/examples/livingRoom.jpg"]).launch()
|
| 17 |
|
| 18 |
if __name__ == '__main__':
|
| 19 |
pass
|
|
|
|
| 13 |
gr.Interface(fn=get_caption.get_image_caption,
|
| 14 |
inputs=gr.Image(type="pil"),
|
| 15 |
outputs=gr.Label(num_top_classes=3),
|
| 16 |
+
examples=["image_caption/examples/bathroom.jpg", "image_caption/examples/livingRoom.jpg"]).launch()
|
| 17 |
|
| 18 |
if __name__ == '__main__':
|
| 19 |
pass
|