Fyahdii commited on
Commit
9e89e80
·
verified ·
1 Parent(s): 0a37373

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,7 +74,7 @@ def extract_sent(doc: str, top_n: int = 3) -> list:
74
 
75
  except Exception as e:
76
  print(f"Error in extract_sent: {e}")
77
- return []
78
 
79
 
80
  final_answer = FinalAnswerTool()
 
74
 
75
  except Exception as e:
76
  print(f"Error in extract_sent: {e}")
77
+ return e
78
 
79
 
80
  final_answer = FinalAnswerTool()