jiangjiechen commited on
Commit
69b544d
1 Parent(s): d3bdb9d
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -116,7 +116,7 @@ def run(claim):
116
  loren.logger.warning(str(js))
117
  ev_html = gradio_formatter(js, 'e')
118
  z_html = gradio_formatter(js, 'z')
119
- return js['claim_veracity'], z_html, ev_html, js
120
 
121
 
122
  iface = gr.Interface(
@@ -126,7 +126,6 @@ iface = gr.Interface(
126
  'label',
127
  'html',
128
  'html',
129
- 'json'
130
  ],
131
  examples=['Donald Trump won the U.S. 2020 presidential election.',
132
  'The first inauguration of Bill Clinton was in the United States.',
 
116
  loren.logger.warning(str(js))
117
  ev_html = gradio_formatter(js, 'e')
118
  z_html = gradio_formatter(js, 'z')
119
+ return js['claim_veracity'], z_html, ev_html
120
 
121
 
122
  iface = gr.Interface(
 
126
  'label',
127
  'html',
128
  'html',
 
129
  ],
130
  examples=['Donald Trump won the U.S. 2020 presidential election.',
131
  'The first inauguration of Bill Clinton was in the United States.',