Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ demo = gr.Interface(
|
|
| 42 |
inputs=gr.Image(type="pil", label="Upload Image"),
|
| 43 |
outputs=gr.Textbox(label="Generated Caption"),
|
| 44 |
#examples=[Image1, Image2, Image3],
|
| 45 |
-
examples=[
|
| 46 |
title="Image Captioning App",
|
| 47 |
description=(
|
| 48 |
"Upload an image or use one of the predefined samples to generate a caption. "
|
|
|
|
| 42 |
inputs=gr.Image(type="pil", label="Upload Image"),
|
| 43 |
outputs=gr.Textbox(label="Generated Caption"),
|
| 44 |
#examples=[Image1, Image2, Image3],
|
| 45 |
+
examples=[image],
|
| 46 |
title="Image Captioning App",
|
| 47 |
description=(
|
| 48 |
"Upload an image or use one of the predefined samples to generate a caption. "
|