TheLastBen
commited on
Commit
•
d9b6cdb
1
Parent(s):
ad0e78c
Upload mainpaperspaceA1111.py
Browse files
Scripts/mainpaperspaceA1111.py
CHANGED
@@ -292,7 +292,7 @@ def mdls(Original_Model_Version, Path_to_MODEL, MODEL_LINK, Temporary_Storage):
|
|
292 |
if os.path.exists(model) and os.path.getsize(model) > 1810671599:
|
293 |
print('[1;32mModel downloaded, using the custom model.')
|
294 |
else:
|
295 |
-
call('rm model
|
296 |
print('[1;31mWrong link, check that the link is valid')
|
297 |
|
298 |
else:
|
|
|
292 |
if os.path.exists(model) and os.path.getsize(model) > 1810671599:
|
293 |
print('[1;32mModel downloaded, using the custom model.')
|
294 |
else:
|
295 |
+
call('rm '+model, shell=True, stdout=open('/dev/null', 'w'), stderr=open('/dev/null', 'w'))
|
296 |
print('[1;31mWrong link, check that the link is valid')
|
297 |
|
298 |
else:
|