inoki-giskard commited on
Commit
6c63d42
·
1 Parent(s): ff04f99

Do not output secrets

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def run_ml_worker(url, api_key, hf_token):
53
  ],
54
  stdout=open(LOG_FILE, "w"), stderr=subprocess.STDOUT
55
  )
56
- args = ml_worker.args
57
  logging.info(f"Process {args} exited with {ml_worker.wait()}")
58
  ml_worker = None
59
 
 
53
  ],
54
  stdout=open(LOG_FILE, "w"), stderr=subprocess.STDOUT
55
  )
56
+ args = ml_worker.args[:3]
57
  logging.info(f"Process {args} exited with {ml_worker.wait()}")
58
  ml_worker = None
59