JLW commited on
Commit
fa3649e
·
1 Parent(s): b7c2c22

Add Ukrainian to Translate to tab

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -228,7 +228,7 @@ def run_chain(chain, inp, capture_hidden_text):
228
  except AuthenticationError as ae:
229
  error_msg = AUTH_ERR_MSG
230
  except RateLimitError as rle:
231
- error_msg = "\n\nRateLimitError."
232
  except ValueError as ve:
233
  error_msg = "\n\nValueError."
234
  except InvalidRequestError as ire:
@@ -265,7 +265,7 @@ def run_chain(chain, inp, capture_hidden_text):
265
  except AuthenticationError as ae:
266
  output = AUTH_ERR_MSG
267
  except RateLimitError as rle:
268
- output = "\n\nRateLimitError."
269
  except ValueError as ve:
270
  output = "\n\nValueError."
271
  except InvalidRequestError as ire:
 
228
  except AuthenticationError as ae:
229
  error_msg = AUTH_ERR_MSG
230
  except RateLimitError as rle:
231
+ error_msg = AUTH_ERR_MSG
232
  except ValueError as ve:
233
  error_msg = "\n\nValueError."
234
  except InvalidRequestError as ire:
 
265
  except AuthenticationError as ae:
266
  output = AUTH_ERR_MSG
267
  except RateLimitError as rle:
268
+ output = AUTH_ERR_MSG
269
  except ValueError as ve:
270
  output = "\n\nValueError."
271
  except InvalidRequestError as ire: