nomadicsynth commited on
Commit
87941c2
·
1 Parent(s): bfab353

Remove commented-out error handling structure in format_search_results function

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -480,7 +480,6 @@ def format_search_results(abstract: str) -> tuple[pd.DataFrame, list[dict]]:
480
  except ValueError as e:
481
  error_message = str(e)
482
  df = pd.DataFrame(
483
- # [{"Title": error_message, "Authors": "", "Categories": "", "Date": "", "Match Score": ""}]
484
  [{"Error": error_message}]
485
  )
486
  return df, []
 
480
  except ValueError as e:
481
  error_message = str(e)
482
  df = pd.DataFrame(
 
483
  [{"Error": error_message}]
484
  )
485
  return df, []