Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def result(passage, reference):
|
|
43 |
if __name__ == "__main__":
|
44 |
article = """
|
45 |
<center>
|
46 |
-
<img src="https://huggingface.co/spaces/fava-uw/fava/
|
47 |
</center>
|
48 |
"""
|
49 |
demo = gradio.Interface(fn=result, flagging_dir="flagged/", inputs=["text", "text"], outputs="html", title="Fine-grained Hallucination Detection and Editing (FAVA)", description="Enter some text and a reference for the text and FAVA will detect and edit any hallucinations present.", article=article)
|
|
|
43 |
if __name__ == "__main__":
|
44 |
article = """
|
45 |
<center>
|
46 |
+
<img src="https://huggingface.co/spaces/fava-uw/fava/resolve/main/images/fava.png" alt="Example" style="width: 200px;">
|
47 |
</center>
|
48 |
"""
|
49 |
demo = gradio.Interface(fn=result, flagging_dir="flagged/", inputs=["text", "text"], outputs="html", title="Fine-grained Hallucination Detection and Editing (FAVA)", description="Enter some text and a reference for the text and FAVA will detect and edit any hallucinations present.", article=article)
|