Spaces:
Runtime error
Runtime error
polejowska
commited on
Commit
•
1e694a8
1
Parent(s):
ef25264
Update app.py
Browse files
app.py
CHANGED
@@ -111,15 +111,14 @@ with gr.Blocks(css=css) as app:
|
|
111 |
img_output_from_upload = gr.Image(shape=(850, 850))
|
112 |
with gr.TabItem("Attention maps visualization"):
|
113 |
with gr.Row():
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
cross_att_map_output = gr.Image(shape=(850, 850))
|
123 |
with gr.TabItem("Model details"):
|
124 |
with gr.Row():
|
125 |
model_details = gr.Markdown(""" """)
|
|
|
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():
|
124 |
model_details = gr.Markdown(""" """)
|