TheLastBen
commited on
Commit
•
7602dc8
1
Parent(s):
44193cb
Update mainpaperspacev1.py
Browse files- mainpaperspacev1.py +2 -4
mainpaperspacev1.py
CHANGED
@@ -58,8 +58,6 @@ def Deps(force_reinstall):
|
|
58 |
done()
|
59 |
|
60 |
|
61 |
-
|
62 |
-
|
63 |
def downloadmodel_hf(Path_to_HuggingFace):
|
64 |
import wget
|
65 |
|
@@ -67,8 +65,8 @@ def downloadmodel_hf(Path_to_HuggingFace):
|
|
67 |
call("rm -r /notebooks/stable-diffusion-custom", shell=True)
|
68 |
clear_output()
|
69 |
|
70 |
-
if os.path.exists('/
|
71 |
-
with open("/
|
72 |
token = f.read()
|
73 |
authe=f'https://USER:{token}@'
|
74 |
else:
|
|
|
58 |
done()
|
59 |
|
60 |
|
|
|
|
|
61 |
def downloadmodel_hf(Path_to_HuggingFace):
|
62 |
import wget
|
63 |
|
|
|
65 |
call("rm -r /notebooks/stable-diffusion-custom", shell=True)
|
66 |
clear_output()
|
67 |
|
68 |
+
if os.path.exists('/notebooks/Fast-Dreambooth/token.txt'):
|
69 |
+
with open("/notebooks/Fast-Dreambooth/token.txt") as f:
|
70 |
token = f.read()
|
71 |
authe=f'https://USER:{token}@'
|
72 |
else:
|