Spaces:
Build error
Build error
Commit
·
1dc8f22
1
Parent(s):
f18943d
fix typo
Browse files
app.py
CHANGED
@@ -55,8 +55,8 @@ def gradio_formatter(js, output_type):
|
|
55 |
data = {'Evidence': js['evidence']}
|
56 |
elif output_type == 'z':
|
57 |
data = {
|
58 |
-
'Claim Phrase': js['
|
59 |
-
'Local Premise': [x[0] for x in js['
|
60 |
'p_SUP': [round(x[2], 4) for x in js['phrase_veracity']],
|
61 |
'p_REF': [round(x[0], 4) for x in js['phrase_veracity']],
|
62 |
'p_NEI': [round(x[1], 4) for x in js['phrase_veracity']],
|
|
|
55 |
data = {'Evidence': js['evidence']}
|
56 |
elif output_type == 'z':
|
57 |
data = {
|
58 |
+
'Claim Phrase': js['claim_phrases'],
|
59 |
+
'Local Premise': [x[0] for x in js['local_premises']],
|
60 |
'p_SUP': [round(x[2], 4) for x in js['phrase_veracity']],
|
61 |
'p_REF': [round(x[0], 4) for x in js['phrase_veracity']],
|
62 |
'p_NEI': [round(x[1], 4) for x in js['phrase_veracity']],
|