Skip to content

Commit

Permalink
float to int
Browse files Browse the repository at this point in the history
  • Loading branch information
ribalba committed Feb 2, 2024
1 parent 549c851 commit 33c6ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xgb.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def interpolate_predictions(predictions):
import psutil
def cpu_utalisation():
while True:
yield str(psutil.cpu_percent(args.interval))
yield str(psutil.cpu_percent(args.interval) * 100)

input_source = cpu_utalisation()

Expand Down

0 comments on commit 33c6ace

Please sign in to comment.