Spaces:
Runtime error
Runtime error
polejowska
commited on
Commit
•
340429d
1
Parent(s):
1e694a8
Update app.py
Browse files
app.py
CHANGED
@@ -110,14 +110,14 @@ with gr.Blocks(css=css) as app:
|
|
110 |
)
|
111 |
img_output_from_upload = gr.Image(shape=(850, 850))
|
112 |
with gr.TabItem("Attention maps visualization"):
|
|
|
113 |
with gr.Row():
|
114 |
-
gr.Markdown("""Encoder attentions""")
|
115 |
encoder_att_map_output = gr.Image(shape=(850, 850))
|
|
|
116 |
with gr.Row():
|
117 |
-
gr.Markdown("""Decoder attentions""")
|
118 |
decoder_att_map_output = gr.Image(shape=(850, 850))
|
|
|
119 |
with gr.Row():
|
120 |
-
gr.Markdown("""Cross attentions""")
|
121 |
cross_att_map_output = gr.Image(shape=(850, 850))
|
122 |
with gr.TabItem("Model details"):
|
123 |
with gr.Row():
|
|
|
110 |
)
|
111 |
img_output_from_upload = gr.Image(shape=(850, 850))
|
112 |
with gr.TabItem("Attention maps visualization"):
|
113 |
+
gr.Markdown("""Encoder attentions""")
|
114 |
with gr.Row():
|
|
|
115 |
encoder_att_map_output = gr.Image(shape=(850, 850))
|
116 |
+
gr.Markdown("""Decoder attentions""")
|
117 |
with gr.Row():
|
|
|
118 |
decoder_att_map_output = gr.Image(shape=(850, 850))
|
119 |
+
gr.Markdown("""Cross attentions""")
|
120 |
with gr.Row():
|
|
|
121 |
cross_att_map_output = gr.Image(shape=(850, 850))
|
122 |
with gr.TabItem("Model details"):
|
123 |
with gr.Row():
|