Update app.py
Browse files77 unmodified lines7879808182838417 unmodified lines10210310410510610710877 unmodified linesgr.Interface(title="Compute component-wise memory of a 🧨 Diffusers pipeline.",description="Sizes will be reported in GB.",fn=get_component_wise_memory,inputs=[gr.components.Textbox(lines=1, label="pipeline_id", info="Example: runwayml/stable-diffusion-v1-5"),17 unmodified linesexamples=[["runwayml/stable-diffusion-v1-5", None, "fp32", None, ".safetensors"],["stabilityai/stable-diffusion-xl-base-1.0", None, "fp16", None, ".safetensors"],[""],],theme=gr.themes.Soft(),allow_flagging=False,77 unmodified lines7879808182838417 unmodified lines10210310410510610710877 unmodified linesgr.Interface(title="Compute component-wise memory of a 🧨 Diffusers pipeline.",description="Sizes will be reported in GB. It can handle pipelines where the text encoder checkpoints might be shared (PixArt, for example).",fn=get_component_wise_memory,inputs=[gr.components.Textbox(lines=1, label="pipeline_id", info="Example: runwayml/stable-diffusion-v1-5"),17 unmodified linesexamples=[["runwayml/stable-diffusion-v1-5", None, "fp32", None, ".safetensors"],["stabilityai/stable-diffusion-xl-base-1.0", None, "fp16", None, ".safetensors"],["PixArt-alpha/PixArt-XL-2-1024-MS", None, "fp32", None, ".safetensors"],],theme=gr.themes.Soft(),allow_flagging=False,
app.py+2-2