Karim0111 commited on
Commit
def0457
·
verified ·
1 Parent(s): baa5285

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -99,6 +99,7 @@ For example, if asked "What is the capital of France?", respond simply with "Par
99
  error_msg = f"Error answering question: {e}"
100
  if self.verbose:
101
  print(error_msg)
 
102
  return error_msg
103
 
104
  def _clean_answer(self, answer: any) -> str:
 
99
  error_msg = f"Error answering question: {e}"
100
  if self.verbose:
101
  print(error_msg)
102
+ traceback.print_exc()
103
  return error_msg
104
 
105
  def _clean_answer(self, answer: any) -> str: