Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,15 @@ iface = gr.Interface(
|
|
38 |
fn=evaluate_hallucination,
|
39 |
inputs=[gr.Textbox(label="Assertion"), gr.Textbox(label="Citation")],
|
40 |
outputs=[gr.Label(), gr.Textbox(label="Explanation")],
|
41 |
-
live=False
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
)
|
43 |
|
44 |
# Launch the interface
|
|
|
38 |
fn=evaluate_hallucination,
|
39 |
inputs=[gr.Textbox(label="Assertion"), gr.Textbox(label="Citation")],
|
40 |
outputs=[gr.Label(), gr.Textbox(label="Explanation")],
|
41 |
+
live=False,
|
42 |
+
title="👋🏻Welcome to 🥒🍆🫑Vectara - Hallucination Tester 🗣️😷",
|
43 |
+
description='''
|
44 |
+
### How To Use Hallucination tester:
|
45 |
+
🗣️📝add any assertion from an LLM or a human 🗣️😷 add any citation from a RAG retriever or a source 👇🏻📩 Press send 🔴🟢 red means a hallucination, green means a credible assertion.
|
46 |
+
Check out the model [vectara/hallucination_evaluation_model](https://huggingface.co/vectara/hallucination_evaluation_model) You can also use 🥒🍆🫑Vectara - Hallucination Tester 🗣️😷 via API below or way by cloning this space. 🧬🔬🔍 Simply click here: <a style="display:inline-block" href="https://huggingface.co/spaces/TeamTonic/vectara-hallucination_evaluation_model?duplicate=true"><img src="https://img.shields.io/badge/-Duplicate%20Space-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14" alt="Duplicate Space"></a></h3>
|
47 |
+
#### Join us : 🌟TeamTonic🌟 is always making cool demos! Join our active builder's🛠️community on 👻Discord: [Discord](https://discord.gg/GWpVpekp) On 🤗Huggingface: [TeamTonic](https://huggingface.co/TeamTonic) & [MultiTransformer](https://huggingface.co/MultiTransformer) On 🌐Github: [Polytonic](https://github.com/tonic-ai) & contribute to 🌟 [PolyGPT](https://github.com/tonic-ai/polygpt-alpha)"
|
48 |
+
''',
|
49 |
+
theme='ParityError/Anime',
|
50 |
)
|
51 |
|
52 |
# Launch the interface
|