Tonic commited on
Commit
3540c00
1 Parent(s): 7209e1d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.inputs.Textbox(label="Input 1"), gr.inputs.Textbox(label="Input 2")],
40
- outputs=[gr.outputs.Label(), gr.outputs.Textbox(label="Explanation")],
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