Spaces:
Runtime error
Runtime error
kkpathak91
commited on
Commit
•
4e5079a
1
Parent(s):
03e5903
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,6 @@
|
|
1 |
"""
|
2 |
-
|
3 |
-
|
4 |
-
@Contact : jjchen19@fudan.edu.c
|
5 |
-
@Description:
|
6 |
"""
|
7 |
|
8 |
import os
|
@@ -125,16 +123,13 @@ iface = gr.Interface(
|
|
125 |
'html',
|
126 |
'html',
|
127 |
],
|
128 |
-
examples=['
|
129 |
-
'
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
layout='horizontal',
|
134 |
-
description="
|
135 |
-
"This is a demo system for the AAAI 2022 paper: \"LOREN: Logic-Regularized Reasoning for Interpretable Fact Verification\"(https://arxiv.org/abs/2012.13577). "
|
136 |
-
"See the paper for more details. You can add a *FLAG* on the bottom to record interesting or bad cases! "
|
137 |
-
"(Note that the demo system directly retrieves evidence from an up-to-date Wikipedia, which is different from the evidence used in the paper.)",
|
138 |
flagging_dir='results/flagged/',
|
139 |
allow_flagging=True,
|
140 |
flagging_options=['Interesting!', 'Error: Claim Phrase Parsing', 'Error: Local Premise',
|
|
|
1 |
"""
|
2 |
+
Name: karan kumar Pathak
|
3 |
+
Email: 2020fc04335@wilp.bits-pilani.com
|
|
|
|
|
4 |
"""
|
5 |
|
6 |
import os
|
|
|
123 |
'html',
|
124 |
'html',
|
125 |
],
|
126 |
+
examples=['Kanpur is a city in Nepal',
|
127 |
+
'PV Sindhu is an Indian Badminton Player.'],
|
128 |
+
title="A Framework for Data-Driven Document Evaluation and Scoring"
|
129 |
+
"Student Name: Karan Kumar Pathak"
|
130 |
+
"Roll No.: 2020fc04334",
|
131 |
layout='horizontal',
|
132 |
+
description="",
|
|
|
|
|
|
|
133 |
flagging_dir='results/flagged/',
|
134 |
allow_flagging=True,
|
135 |
flagging_options=['Interesting!', 'Error: Claim Phrase Parsing', 'Error: Local Premise',
|