abhika-m commited on
Commit
55bfb89
·
verified ·
1 Parent(s): ef53927

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -41,6 +41,7 @@ def result(passage, reference):
41
  return f'<div style="font-weight: normal;">{output}</div>'; #output;
42
 
43
  if __name__ == "__main__":
 
44
  custom_footer = f"""<div style="text-align: center; padding: 20px;"><img src="https://huggingface.co/spaces/fava-uw/fava/resolve/main/images/fava.png" alt="Example Image" style="width: 600px;"></div>"""
45
- demo = gradio.Interface(fn=result, 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=custom_footer)
46
  demo.launch(share=True)
 
41
  return f'<div style="font-weight: normal;">{output}</div>'; #output;
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 = f"""<div style="text-align: center; padding: 20px;"><img src="https://huggingface.co/spaces/fava-uw/fava/resolve/main/images/fava.png" alt="Example Image" style="width: 600px;"></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)