Update no_logs_launch.py
Browse files- no_logs_launch.py +3 -3
no_logs_launch.py
CHANGED
@@ -28,8 +28,8 @@ start = launch_utils.start
|
|
28 |
def main():
|
29 |
if not args.skip_prepare_environment:
|
30 |
prepare_environment()
|
31 |
-
|
32 |
-
|
33 |
|
34 |
if args.test_server:
|
35 |
configure_for_tests()
|
@@ -37,4 +37,4 @@ def main():
|
|
37 |
start()
|
38 |
|
39 |
if __name__ == "__main__":
|
40 |
-
main()
|
|
|
28 |
def main():
|
29 |
if not args.skip_prepare_environment:
|
30 |
prepare_environment()
|
31 |
+
os.system(f"sed -i -e 's/dict()))/dict())).cuda()/g' {util_py_path} > {os.devnull} 2>&1")
|
32 |
+
os.system(f"sed -i -e 's/stable/dict()))/dict())).cuda()/g' /bushu/ui/repositories/diffusion-stability-stable/ldm/util.py > {os.devnull} 2>&1")
|
33 |
|
34 |
if args.test_server:
|
35 |
configure_for_tests()
|
|
|
37 |
start()
|
38 |
|
39 |
if __name__ == "__main__":
|
40 |
+
main()
|