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.
|
40 |
-
outputs=[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.inputs.Textbox(label="Citation")],
|
40 |
+
outputs=[gr.Label(), gr.outputs.Textbox(label="Explanation")],
|
41 |
live=False
|
42 |
)
|
43 |
|