ysharma HF Staff commited on
Commit
e485b3f
·
1 Parent(s): c82d736
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def accelerate_train_lora(steps, images):
46
  print(f"images are -- {images}")
47
  # path can be retrieved by file_obj.name and original filename can be retrieved with file_obj.orig_name
48
  for file in images:
49
- prit(f"file passed -- {file.name}")
50
  shutil.copy( file.name, INSTANCE_DIR) #/{file.orig_name}
51
  #subprocess.Popen(f'accelerate launch {"./train_lora_dreambooth.py"} \
52
  os.system( f'accelerate launch {"./train_lora_dreambooth.py"} \
 
46
  print(f"images are -- {images}")
47
  # path can be retrieved by file_obj.name and original filename can be retrieved with file_obj.orig_name
48
  for file in images:
49
+ print(f"file passed -- {file.name}")
50
  shutil.copy( file.name, INSTANCE_DIR) #/{file.orig_name}
51
  #subprocess.Popen(f'accelerate launch {"./train_lora_dreambooth.py"} \
52
  os.system( f'accelerate launch {"./train_lora_dreambooth.py"} \