Update app.py
Browse files
app.py
CHANGED
|
@@ -89,7 +89,7 @@ with gr.Blocks(
|
|
| 89 |
gr.Markdown("## Image Captioning + Cross-Attention Visualization")
|
| 90 |
|
| 91 |
with gr.Row():
|
| 92 |
-
input_img = gr.Image(type="pil", label="Upload Image",value="
|
| 93 |
|
| 94 |
with gr.Column():
|
| 95 |
max_tokens = gr.Slider(1, 64, value=32, step=1, label="Max Tokens")
|
|
|
|
| 89 |
gr.Markdown("## Image Captioning + Cross-Attention Visualization")
|
| 90 |
|
| 91 |
with gr.Row():
|
| 92 |
+
input_img = gr.Image(type="pil", label="Upload Image",value="36384.jpg", scale=0, image_mode="RGB", interactive=True)
|
| 93 |
|
| 94 |
with gr.Column():
|
| 95 |
max_tokens = gr.Slider(1, 64, value=32, step=1, label="Max Tokens")
|