TheLastBen commited on
Commit
d9b6cdb
1 Parent(s): ad0e78c

Upload mainpaperspaceA1111.py

Browse files
Files changed (1) hide show
  1. Scripts/mainpaperspaceA1111.py +1 -1
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('Model 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('Wrong link, check that the link is valid')
297
 
298
  else:
 
292
  if os.path.exists(model) and os.path.getsize(model) > 1810671599:
293
  print('Model 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('Wrong link, check that the link is valid')
297
 
298
  else: