Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -332,10 +332,10 @@ def greet_json():
|
|
332 |
|
333 |
@app.post("/predict/")
|
334 |
def fact_checking(item: Item):
|
335 |
-
claim = item['claim']
|
336 |
-
source = item['source']
|
337 |
-
|
338 |
-
|
339 |
|
340 |
# Step1: Evidence Retrieval
|
341 |
if source == "Wikipedia":
|
|
|
332 |
|
333 |
@app.post("/predict/")
|
334 |
def fact_checking(item: Item):
|
335 |
+
# claim = item['claim']
|
336 |
+
# source = item['source']
|
337 |
+
claim = item.claim
|
338 |
+
source = item.source
|
339 |
|
340 |
# Step1: Evidence Retrieval
|
341 |
if source == "Wikipedia":
|