Update launch.py
Browse files
launch.py
CHANGED
@@ -1,16 +1,6 @@
|
|
1 |
from modules import launch_utils
|
2 |
import os
|
3 |
-
|
4 |
-
# 设置启动参数
|
5 |
-
args = launch_utils.args
|
6 |
-
args.listen = True
|
7 |
-
args.xformers = True
|
8 |
-
args.enable_insecure_extension_access = True
|
9 |
-
args.theme = "dark"
|
10 |
-
args.gradio_queue = True
|
11 |
-
args.multiple = True
|
12 |
-
args.no_download_sd_model = True
|
13 |
-
|
14 |
|
15 |
|
16 |
args = launch_utils.args
|
@@ -48,6 +38,6 @@ def main():
|
|
48 |
|
49 |
start()
|
50 |
|
51 |
-
__name__ = "__main__"
|
52 |
|
53 |
-
|
|
|
|
1 |
from modules import launch_utils
|
2 |
import os
|
3 |
+
import os
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
5 |
|
6 |
args = launch_utils.args
|
|
|
38 |
|
39 |
start()
|
40 |
|
|
|
41 |
|
42 |
+
if __name__ == "__main__":
|
43 |
+
main()
|