Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,9 +34,9 @@ def result(passage, reference):
|
|
34 |
output = output.replace("</entity>", "")
|
35 |
output = output.replace("</relation>", "")
|
36 |
output = output.replace("</contradictory>", "")
|
37 |
-
output = output.replace("</unverifiable>", "")
|
38 |
output = output.replace("</invented>", "")
|
39 |
-
output = output.replace("</subjective>", "")
|
40 |
output = output.replace("Edited:", "")
|
41 |
return f'<div style="font-weight: normal;">{output}</div>'; #output;
|
42 |
|
|
|
34 |
output = output.replace("</entity>", "")
|
35 |
output = output.replace("</relation>", "")
|
36 |
output = output.replace("</contradictory>", "")
|
37 |
+
output = output.replace("</unverifiable>", "</u>")
|
38 |
output = output.replace("</invented>", "")
|
39 |
+
output = output.replace("</subjective>", "</u>")
|
40 |
output = output.replace("Edited:", "")
|
41 |
return f'<div style="font-weight: normal;">{output}</div>'; #output;
|
42 |
|