LukasHug commited on
Commit
1aa2ce5
·
verified ·
1 Parent(s): 7990960

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -100,7 +100,7 @@ Set the environment variable `model` to change the model:
100
  available_devices = os.getenv("CUDA_VISIBLE_DEVICES", "0")
101
  model_path, model_name = model, model.split("/")[-1]
102
 
103
- worker_proc = start_worker(model_path, model_name, bits=bits)
104
 
105
 
106
  # Wait for worker and controller to start
@@ -122,7 +122,7 @@ Set the environment variable `model` to change the model:
122
  print(e)
123
  exit_status = 1
124
  finally:
125
- worker_proc.kill()
126
  controller_proc.kill()
127
 
128
  sys.exit(exit_status)
 
100
  available_devices = os.getenv("CUDA_VISIBLE_DEVICES", "0")
101
  model_path, model_name = model, model.split("/")[-1]
102
 
103
+ # worker_proc = start_worker(model_path, model_name, bits=bits)
104
 
105
 
106
  # Wait for worker and controller to start
 
122
  print(e)
123
  exit_status = 1
124
  finally:
125
+ # worker_proc.kill()
126
  controller_proc.kill()
127
 
128
  sys.exit(exit_status)