Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -36,8 +36,8 @@ def evaluate_hallucination(input1, input2):
|
|
36 |
# Create the Gradio interface
|
37 |
iface = gr.Interface(
|
38 |
fn=evaluate_hallucination,
|
39 |
-
inputs=[gr.Textbox(label="Assertion"), gr.
|
40 |
-
outputs=[gr.Label(), gr.
|
41 |
live=False
|
42 |
)
|
43 |
|
|
|
36 |
# Create the Gradio interface
|
37 |
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 |
|