Spaces:
Sleeping
Sleeping
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)
|
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 = ""
|