Spaces:
Sleeping
Sleeping
zhenyundeng
commited on
Commit
•
8e3188e
1
Parent(s):
f58b8d2
update
Browse files
app.py
CHANGED
@@ -263,7 +263,7 @@ class SequenceClassificationDataLoader(pl.LightningDataModule):
|
|
263 |
+ bool_explanation
|
264 |
)
|
265 |
|
266 |
-
@spaces.GPU
|
267 |
def veracity_prediction(claim, evidence):
|
268 |
dataLoader = SequenceClassificationDataLoader(
|
269 |
tokenizer=veracity_tokenizer,
|
@@ -339,7 +339,7 @@ def extract_claim_str(claim, evidence, verdict_label):
|
|
339 |
|
340 |
return claim_str
|
341 |
|
342 |
-
@spaces.GPU
|
343 |
def justification_generation(claim, evidence, verdict_label):
|
344 |
#
|
345 |
claim_str = extract_claim_str(claim, evidence, verdict_label)
|
|
|
263 |
+ bool_explanation
|
264 |
)
|
265 |
|
266 |
+
# @spaces.GPU
|
267 |
def veracity_prediction(claim, evidence):
|
268 |
dataLoader = SequenceClassificationDataLoader(
|
269 |
tokenizer=veracity_tokenizer,
|
|
|
339 |
|
340 |
return claim_str
|
341 |
|
342 |
+
# @spaces.GPU
|
343 |
def justification_generation(claim, evidence, verdict_label):
|
344 |
#
|
345 |
claim_str = extract_claim_str(claim, evidence, verdict_label)
|