Skip to content

Commit

Permalink
fix: in ui MPS becomes MPS/s (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
jug-dev authored Apr 2, 2023
1 parent 122a7dc commit d288e37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions worker/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def get_cpu_usage(self):
def print_status(self):
# This is the design template: (80 columns)
# ╔═AIDream-01══════════════════════════════════════════════════════════════════╗
# ║ Uptime: 0:14:35 Jobs Completed: 6 Performance: 0.3 MPS
# ║ Uptime: 0:14:35 Jobs Completed: 6 Performance: 0.3 MPS/s
# ║ Models: 174 Kudos Per Hour: 5283 Jobs Per Hour: 524966 ║
# ║ Threads: 3 Warnings: 9999 Errors: 100 ║
# ║ CPU Load: 99% (99%) Free RAM: 2 GB (99%) ║
Expand Down Expand Up @@ -685,7 +685,7 @@ def get_remote_worker_info(self):
self.total_failed_jobs = data.get("uncompleted_jobs", 0)

if worker_type == "image":
self.performance = perf.replace("megapixelsteps per second", "MPS")
self.performance = perf.replace("megapixelsteps per second", "MPS/s")
self.total_models = len(data.get("models", []))
elif worker_type == "interrogation":
self.performance = perf.replace("seconds per form", "SPF")
Expand Down

0 comments on commit d288e37

Please sign in to comment.