multimodalart HF staff commited on
Commit
82c538e
1 Parent(s): f0c5003

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -67,7 +67,7 @@ def train(*inputs):
67
  if (extension.upper() == "JPG"):
68
  image.save(f'instance_images/{prompt}_({j+1}).jpg', format="JPEG", quality = 100)
69
  else:
70
- image.save(f'instance_images/{prompt}_({j+1}).jpg', format=extension.upper())
71
  #shutil.copy(file.name, )
72
  file_counter += 1
73
 
 
67
  if (extension.upper() == "JPG"):
68
  image.save(f'instance_images/{prompt}_({j+1}).jpg', format="JPEG", quality = 100)
69
  else:
70
+ image.save(f'instance_images/{prompt}_({j+1}).{extension}', format=extension.upper())
71
  #shutil.copy(file.name, )
72
  file_counter += 1
73