Spaces:
Runtime error
Runtime error
liuhaotian
commited on
Commit
•
a0ac53d
1
Parent(s):
1c7aced
Fix
Browse files
app.py
CHANGED
@@ -18,6 +18,7 @@ def start_controller():
|
|
18 |
"--port",
|
19 |
"10000",
|
20 |
]
|
|
|
21 |
return subprocess.Popen(controller_command)
|
22 |
|
23 |
|
@@ -42,6 +43,7 @@ def start_worker(model_path: str, bits=16):
|
|
42 |
]
|
43 |
if bits != 16:
|
44 |
worker_command += [f"--load-{bits}bit"]
|
|
|
45 |
return subprocess.Popen(worker_command)
|
46 |
|
47 |
|
|
|
18 |
"--port",
|
19 |
"10000",
|
20 |
]
|
21 |
+
print(controller_command)
|
22 |
return subprocess.Popen(controller_command)
|
23 |
|
24 |
|
|
|
43 |
]
|
44 |
if bits != 16:
|
45 |
worker_command += [f"--load-{bits}bit"]
|
46 |
+
print(worker_command)
|
47 |
return subprocess.Popen(worker_command)
|
48 |
|
49 |
|