Spaces:
Sleeping
Sleeping
remove logger
Browse files
app.py
CHANGED
@@ -9,7 +9,6 @@ from llm_reasoner import LLMReasoner
|
|
9 |
from prompts import templates
|
10 |
from typing import Any
|
11 |
from string import Template
|
12 |
-
import logger
|
13 |
|
14 |
st.header(" Scientific Claim Verification ")
|
15 |
st.caption("Team UMBC-SBU-UT")
|
@@ -19,7 +18,7 @@ def safe_parse_json(model_answer):
|
|
19 |
try:
|
20 |
return json.loads(model_answer)
|
21 |
except json.JSONDecodeError as e:
|
22 |
-
|
23 |
return None
|
24 |
|
25 |
def check_password():
|
|
|
9 |
from prompts import templates
|
10 |
from typing import Any
|
11 |
from string import Template
|
|
|
12 |
|
13 |
st.header(" Scientific Claim Verification ")
|
14 |
st.caption("Team UMBC-SBU-UT")
|
|
|
18 |
try:
|
19 |
return json.loads(model_answer)
|
20 |
except json.JSONDecodeError as e:
|
21 |
+
print("Failed to parse JSON: %s", e)
|
22 |
return None
|
23 |
|
24 |
def check_password():
|