Spaces:
Runtime error
Runtime error
Commit
·
2d885df
1
Parent(s):
45b0df1
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,8 @@ import pathlib
|
|
| 10 |
import gc
|
| 11 |
import time
|
| 12 |
import subprocess
|
| 13 |
-
def Gitclone
|
|
|
|
| 14 |
if pathlib.Path.exists(ClonePath):
|
| 15 |
return 0
|
| 16 |
for z in range(10):
|
|
@@ -47,8 +48,7 @@ Gitclone(r"https://github.com/vorstcavry/ncpt_colab_timer",user_home / r"stable-
|
|
| 47 |
Gitclone(r"https://github.com/vorstcavry/static",user_home / r"stable-diffusion-webui" / r"static")
|
| 48 |
|
| 49 |
def run_echo_command():
|
| 50 |
-
try
|
| 51 |
-
:
|
| 52 |
start_huggingface
|
| 53 |
except NameError:
|
| 54 |
start_huggingface = int(time.time()) - 5
|
|
|
|
| 10 |
import gc
|
| 11 |
import time
|
| 12 |
import subprocess
|
| 13 |
+
def Gitclone
|
| 14 |
+
(URI:str,ClonePath:pathlib.Path ) -> int :
|
| 15 |
if pathlib.Path.exists(ClonePath):
|
| 16 |
return 0
|
| 17 |
for z in range(10):
|
|
|
|
| 48 |
Gitclone(r"https://github.com/vorstcavry/static",user_home / r"stable-diffusion-webui" / r"static")
|
| 49 |
|
| 50 |
def run_echo_command():
|
| 51 |
+
try:
|
|
|
|
| 52 |
start_huggingface
|
| 53 |
except NameError:
|
| 54 |
start_huggingface = int(time.time()) - 5
|