Update app11.py
Browse files
app11.py
CHANGED
@@ -243,7 +243,7 @@ def start():
|
|
243 |
os.system(f"python launch.py --api --xformers --exit --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle")
|
244 |
#time.sleep(5)
|
245 |
|
246 |
-
command = "python launch.py --api --xformers --ui-settings-file /home/xlab-app-center/config.json --ui-config-file /home/xlab-app-center/ui-config.json --gradio-queue --disable-safe-unpickle"
|
247 |
|
248 |
#notbook()
|
249 |
process = subprocess.Popen(command, shell=True)
|
|
|
243 |
os.system(f"python launch.py --api --xformers --exit --enable-insecure-extension-access --gradio-queue --disable-safe-unpickle")
|
244 |
#time.sleep(5)
|
245 |
|
246 |
+
command = "python launch.py --api --api-auth=123:456 --xformers --ui-settings-file /home/xlab-app-center/config.json --ui-config-file /home/xlab-app-center/ui-config.json --gradio-queue --disable-safe-unpickle"
|
247 |
|
248 |
#notbook()
|
249 |
process = subprocess.Popen(command, shell=True)
|