Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -45,8 +45,7 @@ input_component = gr.components.Image(label="Upload any Image", type="pil")
|
|
45 |
output_component = gr.components.Textbox(label="Captions")
|
46 |
|
47 |
# Example images
|
48 |
-
|
49 |
-
examples = ['example1.JPG']
|
50 |
|
51 |
# Interface
|
52 |
title = "IG-caption-generator"
|
|
|
45 |
output_component = gr.components.Textbox(label="Captions")
|
46 |
|
47 |
# Example images
|
48 |
+
examples = [f"example{i}.JPG" for i in range(1, 10)]
|
|
|
49 |
|
50 |
# Interface
|
51 |
title = "IG-caption-generator"
|