Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -94,7 +94,8 @@ with gr.Blocks() as iface:
|
|
| 94 |
|
| 95 |
caption_output = gr.Textbox(label="Caption and Detected Objects", lines=3, interactive=False)
|
| 96 |
|
| 97 |
-
|
|
|
|
| 98 |
|
| 99 |
generate_btn = gr.Button("Generate Caption")
|
| 100 |
|
|
|
|
| 94 |
|
| 95 |
caption_output = gr.Textbox(label="Caption and Detected Objects", lines=3, interactive=False)
|
| 96 |
|
| 97 |
+
# Fixed: removed style() method, added scale parameter to Gallery
|
| 98 |
+
gallery = gr.Gallery(label="Last 15 Images and Captions", scale=3)
|
| 99 |
|
| 100 |
generate_btn = gr.Button("Generate Caption")
|
| 101 |
|