Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -42,6 +42,6 @@ def result(passage, reference):
|
|
42 |
|
43 |
if __name__ == "__main__":
|
44 |
# description="Enter some text and a reference for the text and FAVA will detect and edit any hallucinations present."
|
45 |
-
custom_footer =
|
46 |
demo = gradio.Interface(fn=result, inputs=["text", "text"], outputs="html", title="Fine-grained Hallucination Detection and Editing (FAVA)", description=custom_footer)
|
47 |
demo.launch(share=True)
|
|
|
42 |
|
43 |
if __name__ == "__main__":
|
44 |
# description="Enter some text and a reference for the text and FAVA will detect and edit any hallucinations present."
|
45 |
+
custom_footer = """<div style="text-align: center; padding: 20px;"><img src="./images/fava.png" alt="Example Image"></div>"""
|
46 |
demo = gradio.Interface(fn=result, inputs=["text", "text"], outputs="html", title="Fine-grained Hallucination Detection and Editing (FAVA)", description=custom_footer)
|
47 |
demo.launch(share=True)
|