Update app.py
Browse files
app.py
CHANGED
@@ -70,7 +70,7 @@ examples =[['cats.jpg']]
|
|
70 |
|
71 |
iface = gr.Interface(fn=visualize_attention,
|
72 |
inputs=gr.inputs.Image(shape=(480, 480), type="pil"),
|
73 |
-
outputs=[gr.outputs.Image(type='file', label=f'attention_head_{i}') for i in range(
|
74 |
title=title,
|
75 |
description=description,
|
76 |
article=article,
|
|
|
70 |
|
71 |
iface = gr.Interface(fn=visualize_attention,
|
72 |
inputs=gr.inputs.Image(shape=(480, 480), type="pil"),
|
73 |
+
outputs=[gr.outputs.Image(type='file', label=f'attention_head_{i}') for i in range(12)],
|
74 |
title=title,
|
75 |
description=description,
|
76 |
article=article,
|