Spaces:
Sleeping
Sleeping
Update app.py
Browse files24 unmodified lines2526272829303124 unmodified lines# Copy input to working dir because ggc expects files in current dirwork_dir = tempfile.mkdtemp()input_path = os.path.join(work_dir, "unet.safetensors")shutil.copy(safetensors_path, input_path)# GGUF output will be named automatically like unet.safetensors -> unet.gguf24 unmodified lines2526272829303124 unmodified lines# Copy input to working dir because ggc expects files in current dirwork_dir = tempfile.mkdtemp()input_path = os.path.join(work_dir, "unet_diffusion_pytorch_model.safetensors")shutil.copy(safetensors_path, input_path)# GGUF output will be named automatically like unet.safetensors -> unet.gguf
app.py+1-1