yangtb24 commited on
Commit
e6b81d7
·
verified ·
1 Parent(s): 76c71cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -452,7 +452,7 @@ def index():
452
  token_counts_day.pop(0)
453
 
454
  rpd = len(request_timestamps_day)
455
- tpd = sum(token_counts)
456
 
457
  return jsonify({"rpm": rpm, "tpm": tpm, "rpd": rpd, "tpd": tpd})
458
 
 
452
  token_counts_day.pop(0)
453
 
454
  rpd = len(request_timestamps_day)
455
+ tpd = sum(token_counts_day)
456
 
457
  return jsonify({"rpm": rpm, "tpm": tpm, "rpd": rpd, "tpd": tpd})
458