JLW commited on
Commit
0d1fec8
·
1 Parent(s): e3c8991

Remove some commented lines

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -87,13 +87,10 @@ def run_chain(chain, inp, capture_hidden_text):
87
  output = chain.run(input=inp)
88
  except AuthenticationError as ae:
89
  error_msg = "AuthenticationError: " + str(ae)
90
- # print("\nAuthenticationError: ", ae)
91
  except InvalidRequestError as ire:
92
  error_msg = "\n\n" + BUG_FOUND_MSG + " Here are the details: InvalidRequestError, " + str(ire)
93
- # print("\nInvalidRequestError: ", ire)
94
  except Exception as e:
95
  error_msg = "\n" + BUG_FOUND_MSG + " Here are the details: Exception, " + str(e)
96
- # print("\nException: ", e)
97
 
98
  sys.stdout = tmp
99
  hidden_text = hidden_text_io.getvalue()
 
87
  output = chain.run(input=inp)
88
  except AuthenticationError as ae:
89
  error_msg = "AuthenticationError: " + str(ae)
 
90
  except InvalidRequestError as ire:
91
  error_msg = "\n\n" + BUG_FOUND_MSG + " Here are the details: InvalidRequestError, " + str(ire)
 
92
  except Exception as e:
93
  error_msg = "\n" + BUG_FOUND_MSG + " Here are the details: Exception, " + str(e)
 
94
 
95
  sys.stdout = tmp
96
  hidden_text = hidden_text_io.getvalue()