Move submit
Browse files
app.py
CHANGED
|
@@ -170,6 +170,7 @@ with gr.Blocks(css=custom_css) as demo:
|
|
| 170 |
interactive=True,
|
| 171 |
lines=2,
|
| 172 |
)
|
|
|
|
| 173 |
attribute_input_examples = gr.Examples(
|
| 174 |
examples,
|
| 175 |
inputs=[query],
|
|
@@ -212,7 +213,6 @@ with gr.Blocks(css=custom_css) as demo:
|
|
| 212 |
gr.Code(inseq_citation, interactive=False, label="Inseq (Sarti et al., 2023)")
|
| 213 |
gr.Markdown("The AttnLRP attribution method used in this demo via the LXT library can be cited with:")
|
| 214 |
gr.Code(lxt_citation, interactive=False, label="AttnLRP (Achtibat et al., 2024)")
|
| 215 |
-
btn = gr.Button("Submit", variant="primary")
|
| 216 |
with gr.Column():
|
| 217 |
attribute_context_out = gradio_iframe.iFrame(height=400, visible=True)
|
| 218 |
with gr.Row(equal_height=True):
|
|
|
|
| 170 |
interactive=True,
|
| 171 |
lines=2,
|
| 172 |
)
|
| 173 |
+
btn = gr.Button("Submit", variant="primary")
|
| 174 |
attribute_input_examples = gr.Examples(
|
| 175 |
examples,
|
| 176 |
inputs=[query],
|
|
|
|
| 213 |
gr.Code(inseq_citation, interactive=False, label="Inseq (Sarti et al., 2023)")
|
| 214 |
gr.Markdown("The AttnLRP attribution method used in this demo via the LXT library can be cited with:")
|
| 215 |
gr.Code(lxt_citation, interactive=False, label="AttnLRP (Achtibat et al., 2024)")
|
|
|
|
| 216 |
with gr.Column():
|
| 217 |
attribute_context_out = gradio_iframe.iFrame(height=400, visible=True)
|
| 218 |
with gr.Row(equal_height=True):
|