linhkid commited on
Commit
9df54fe
·
1 Parent(s): 94aa2bb

edit exception

Browse files
Files changed (1) hide show
  1. src/relevancy.py +0 -1
src/relevancy.py CHANGED
@@ -49,7 +49,6 @@ def post_process_chat_gpt_response(paper_data, response, threshold_score=8):
49
  except Exception as e:
50
  pprint.pprint([re.sub(pattern, "", line) for line in json_items if "relevancy score" in line.lower()])
51
  print(e)
52
- #raise e
53
  raise RuntimeError("failed")
54
  pprint.pprint(score_items)
55
  scores = []
 
49
  except Exception as e:
50
  pprint.pprint([re.sub(pattern, "", line) for line in json_items if "relevancy score" in line.lower()])
51
  print(e)
 
52
  raise RuntimeError("failed")
53
  pprint.pprint(score_items)
54
  scores = []