ShiwenNi commited on
Commit
497a3b3
1 Parent(s): 34c5a9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -95,8 +95,8 @@ class Reviewer:
95
  usage = response.usage.total_tokens
96
  except Exception as e:
97
  # 处理其他的异常
98
- result = str(e)
99
- usage = str(e)
100
  print("********"*10)
101
  print(result)
102
  print("********"*10)
 
95
  usage = response.usage.total_tokens
96
  except Exception as e:
97
  # 处理其他的异常
98
+ result = "非常抱歉>_<,生了一个错误:"+ str(e)
99
+ usage = 'xxxxx'
100
  print("********"*10)
101
  print(result)
102
  print("********"*10)