Update app.py
Browse files
app.py
CHANGED
@@ -211,7 +211,7 @@ with gr.Blocks(css=custom_css) as demo:
|
|
211 |
with gr.Row():
|
212 |
with gr.Column(min_width=500):
|
213 |
gr.HTML(
|
214 |
-
'<h1><img src="img/mirage_logo_white_contour.png" width=300px /></h1>'
|
215 |
)
|
216 |
text = gr.Markdown(
|
217 |
"This demo showcases an end-to-end usage of model internals for RAG answer attribution with the <a href='https://openreview.net/forum?id=XTHfNGI3zT' target='_blank'>PECoRe</a> framework, as described in our <a href='https://arxiv.org/abs/2406.13663' target='_blank'>MIRAGE</a> paper.<br>"
|
@@ -344,7 +344,7 @@ with gr.Blocks(css=custom_css) as demo:
|
|
344 |
with gr.Row(elem_classes="footer-container"):
|
345 |
with gr.Column():
|
346 |
gr.Markdown(
|
347 |
-
"""<div class="footer-custom-block"><b>Powered by</b> <a href='https://github.com/inseq-team/inseq' target='_blank'><img src="img/inseq_logo_white_contour.png" width=150px /></a> <a href='https://github.com/rachtibat/LRP-eXplains-Transformers' target='_blank'><img src="file/img/lxt_logo.png" width=150px /></a></div>"""
|
348 |
)
|
349 |
with gr.Column():
|
350 |
with gr.Row(elem_classes="footer-custom-block"):
|
@@ -354,11 +354,11 @@ with gr.Blocks(css=custom_css) as demo:
|
|
354 |
)
|
355 |
with gr.Column(scale=0.30, min_width=120):
|
356 |
gr.Markdown(
|
357 |
-
"""<a href='https://www.rug.nl/research/clcg/research/cl/' target='_blank'><img src="img/rug_logo_white_contour.png" width=170px /></a>"""
|
358 |
)
|
359 |
with gr.Column(scale=0.30, min_width=120):
|
360 |
gr.Markdown(
|
361 |
-
"""<a href='https://projects.illc.uva.nl/indeep/' target='_blank'><img src="img/indeep_logo_white_contour.png" width=100px /></a>"""
|
362 |
)
|
363 |
|
364 |
rag_setting.change(
|
|
|
211 |
with gr.Row():
|
212 |
with gr.Column(min_width=500):
|
213 |
gr.HTML(
|
214 |
+
'<h1><img src="gradio_api/file/img/mirage_logo_white_contour.png" width=300px /></h1>'
|
215 |
)
|
216 |
text = gr.Markdown(
|
217 |
"This demo showcases an end-to-end usage of model internals for RAG answer attribution with the <a href='https://openreview.net/forum?id=XTHfNGI3zT' target='_blank'>PECoRe</a> framework, as described in our <a href='https://arxiv.org/abs/2406.13663' target='_blank'>MIRAGE</a> paper.<br>"
|
|
|
344 |
with gr.Row(elem_classes="footer-container"):
|
345 |
with gr.Column():
|
346 |
gr.Markdown(
|
347 |
+
"""<div class="footer-custom-block"><b>Powered by</b> <a href='https://github.com/inseq-team/inseq' target='_blank'><img src="gradio_api/file/img/inseq_logo_white_contour.png" width=150px /></a> <a href='https://github.com/rachtibat/LRP-eXplains-Transformers' target='_blank'><img src="file/img/lxt_logo.png" width=150px /></a></div>"""
|
348 |
)
|
349 |
with gr.Column():
|
350 |
with gr.Row(elem_classes="footer-custom-block"):
|
|
|
354 |
)
|
355 |
with gr.Column(scale=0.30, min_width=120):
|
356 |
gr.Markdown(
|
357 |
+
"""<a href='https://www.rug.nl/research/clcg/research/cl/' target='_blank'><img src="gradio_api/file/img/rug_logo_white_contour.png" width=170px /></a>"""
|
358 |
)
|
359 |
with gr.Column(scale=0.30, min_width=120):
|
360 |
gr.Markdown(
|
361 |
+
"""<a href='https://projects.illc.uva.nl/indeep/' target='_blank'><img src="gradio_api/file/img/indeep_logo_white_contour.png" width=100px /></a>"""
|
362 |
)
|
363 |
|
364 |
rag_setting.change(
|