Spaces:
Sleeping
Sleeping
zhenyundeng
commited on
Commit
•
0c5727b
1
Parent(s):
dcdc5f5
Update app.py
Browse files
app.py
CHANGED
@@ -364,10 +364,10 @@ def log_on_azure(file, logs, azure_share_client):
|
|
364 |
|
365 |
@app.post("/predict/")
|
366 |
def fact_checking(item: Item):
|
367 |
-
claim = item['claim']
|
368 |
-
source = item['source']
|
369 |
-
|
370 |
-
|
371 |
|
372 |
# Step1: Evidence Retrieval
|
373 |
if source == "Wikipedia":
|
|
|
364 |
|
365 |
@app.post("/predict/")
|
366 |
def fact_checking(item: Item):
|
367 |
+
# claim = item['claim']
|
368 |
+
# source = item['source']
|
369 |
+
claim = item.claim
|
370 |
+
source = item.source
|
371 |
|
372 |
# Step1: Evidence Retrieval
|
373 |
if source == "Wikipedia":
|