Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -76,7 +76,7 @@ def predict(image,max_length=64, num_beams=4):
|
|
76 |
print("------------------------- 5 -------------------------\n")
|
77 |
input = gr.inputs.Image(label="Upload any Image", type = 'pil', optional=True)
|
78 |
output = gr.outputs.Textbox(type="auto",label="Captions")
|
79 |
-
examples = [
|
80 |
print("------------------------- 6 -------------------------\n")
|
81 |
title = "Image Captioning "
|
82 |
description = "NTT Data"
|
|
|
76 |
print("------------------------- 5 -------------------------\n")
|
77 |
input = gr.inputs.Image(label="Upload any Image", type = 'pil', optional=True)
|
78 |
output = gr.outputs.Textbox(type="auto",label="Captions")
|
79 |
+
examples = ["example1.jpg"]
|
80 |
print("------------------------- 6 -------------------------\n")
|
81 |
title = "Image Captioning "
|
82 |
description = "NTT Data"
|