Update app2.py
Browse files
app2.py
CHANGED
@@ -50,6 +50,7 @@ download_file('https://hf-mirror.com/datasets/ACCA225/openxlab/resolve/main/ui-c
|
|
50 |
download_file('https://hf-mirror.com/datasets/ACCA225/openxlab/resolve/main/ui-config-pub.json', os.path.join(base_directory, 'ui-config.json'))
|
51 |
|
52 |
os.chdir(f"/home/xlab-app-center/stable-diffusion-webui/extensions")
|
|
|
53 |
show_shell_info = False
|
54 |
def run(command, cwd=None, desc=None, errdesc=None, custom_env=None,try_error:bool=True) -> str:
|
55 |
global show_shell_info
|
|
|
50 |
download_file('https://hf-mirror.com/datasets/ACCA225/openxlab/resolve/main/ui-config-pub.json', os.path.join(base_directory, 'ui-config.json'))
|
51 |
|
52 |
os.chdir(f"/home/xlab-app-center/stable-diffusion-webui/extensions")
|
53 |
+
os.system(f"rm -rf ./batchlinks-webui")
|
54 |
show_shell_info = False
|
55 |
def run(command, cwd=None, desc=None, errdesc=None, custom_env=None,try_error:bool=True) -> str:
|
56 |
global show_shell_info
|