John6666 commited on
Commit
8561851
1 Parent(s): f0ff983

Upload convert_url_to_diffusers_sdxl_gr.py

Browse files
convert_url_to_diffusers_sdxl_gr.py CHANGED
@@ -235,7 +235,7 @@ def convert_url_to_diffusers_sdxl(url, civitai_key="", is_upload_sf=False, half=
235
  pipe = StableDiffusionXLPipeline.from_single_file(new_file, use_safetensors=True)
236
  if is_upload_sf:
237
  import shutil
238
- shutil.move(str(Path(new_file).resolve()), str(Path(new_repo_name, Path(new_file).name).resolve()))
239
 
240
 
241
  new_vae_file = ""
 
235
  pipe = StableDiffusionXLPipeline.from_single_file(new_file, use_safetensors=True)
236
  if is_upload_sf:
237
  import shutil
238
+ shutil.move(str(Path(new_file)), str(Path(new_repo_name, Path(new_file).name)))
239
 
240
 
241
  new_vae_file = ""