Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,8 @@ def DownLoad(URI:str,DownloadPath:pathlib.Path,DownLoadFileName:str ) -> int:
|
|
35 |
del i
|
36 |
raise Exception(str.format("download \'{0}\' failed",URI))
|
37 |
|
38 |
-
user_home =pathlib.Path.home().resolve().joinpath("data")
|
|
|
39 |
os.chdir(str(user_home))
|
40 |
#clone stable-diffusion-webui repo
|
41 |
print("cloning stable-diffusion-webui repo")
|
|
|
35 |
del i
|
36 |
raise Exception(str.format("download \'{0}\' failed",URI))
|
37 |
|
38 |
+
#user_home =pathlib.Path.home().resolve().joinpath("data")
|
39 |
+
user_home=pathlib.Path("/data")
|
40 |
os.chdir(str(user_home))
|
41 |
#clone stable-diffusion-webui repo
|
42 |
print("cloning stable-diffusion-webui repo")
|