Commit History

zf.write(image_path, arcname=os.path.basename(image_path))
5b56c89
verified

Fabrice-TIERCELIN commited on

def save_on_path(img: Image, filename: str, format_: str = None) -> Path:
9f79eb1
verified

Fabrice-TIERCELIN commited on

def export_images_to_zip(gallery) -> str:
1b7cbda
verified

Fabrice-TIERCELIN commited on

return infer(prompt, None, mode_choice, seed, randomize_seed, width, height, num_inference_steps, guidance_scale, prompt_upsampling)
c687584
verified

Fabrice-TIERCELIN commited on

return infer(prompt, [input_image], mode_choice, seed, randomize_seed, width, height, num_inference_steps, guidance_scale, prompt_upsampling)
5121d3a
verified

Fabrice-TIERCELIN commited on

input_image = gr.Image(label="Upload the image for editing", type="pil")
497db88
verified

Fabrice-TIERCELIN commited on

git+https://github.com/huggingface/diffusers.git
c9db2ad
verified

Fabrice-TIERCELIN commited on

js="document.getElementById('output_id').scrollIntoView()"
28cc584
verified

Fabrice-TIERCELIN commited on

js="document.getElementById('output_id')?.scrollIntoView({behavior: 'smooth', block: 'start', inline: 'nearest'})"
90c61c1
verified

Fabrice-TIERCELIN commited on

zf.write(image_path, arcname=os.path.basename(image_path))
e257b78
verified

Fabrice-TIERCELIN commited on

zf.write(image_path, arcname=os.path.basename(filepath))
b41d562
verified

Fabrice-TIERCELIN commited on

image_filename = re.sub(r"^.*[\/\\]([^\/\\]+)$", r"\1", image_path)
bd03974
verified

Fabrice-TIERCELIN commited on

print(str(len(gallery)) + " images zipped")
43742c6
verified

Fabrice-TIERCELIN commited on

result_gallery = gr.Gallery(label = 'Downloadable results', show_label = True, interactive = False, elem_id = "gallery1")
1a26c5e
verified

Fabrice-TIERCELIN commited on

zip_path = export_compiled_transformers_to_zip(gallery)
5c9497f
verified

Fabrice-TIERCELIN commited on

payload["constants_map"] = constants
e52b043
verified

Fabrice-TIERCELIN commited on

def drain_module_parameters(module: torch.nn.Module):
d3d2788
verified

Fabrice-TIERCELIN commited on

def to_serializable_dict(self) -> dict[str, Any]:
4bd4373
verified

Fabrice-TIERCELIN commited on