mikeee commited on
Commit
267f542
1 Parent(s): 23c8307

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -116,7 +116,7 @@ def trans_api(input, max_length=4096, top_p=0.8, temperature=0.2):
116
  )
117
  # logger.debug(f"{res=} \n{_=}")
118
  except Exception as exc:
119
- logger.error(exc)
120
  res = str(exc)
121
 
122
  return res
 
116
  )
117
  # logger.debug(f"{res=} \n{_=}")
118
  except Exception as exc:
119
+ logger.error(f"{exc=}")
120
  res = str(exc)
121
 
122
  return res