tqhoa commited on
Commit
e3c9eb9
·
1 Parent(s): 5d4ada4

change variable

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -18,7 +18,7 @@ def root(
18
  "message": "Your first endpoint is working"
19
  }
20
 
21
- if cpu_load == 'True':
22
  result["cpu_average_load"] = os.getloadavg()
23
  result["cpu"] = os.cpu_count()
24
 
 
18
  "message": "Your first endpoint is working"
19
  }
20
 
21
+ if show_info == 'True':
22
  result["cpu_average_load"] = os.getloadavg()
23
  result["cpu"] = os.cpu_count()
24