I am new to hugging face and whenever I run a code downloading starts in my terminal for example:
I am currently running the below code:
from diffusers import AutoPipelineForText2Image
pipeline = AutoPipelineForText2Image.from_pretrained("runwayml/stable-diffusion-v1-5")
image = pipeline("A cat running on a beach").images[0]
and in the terminal I am getting the following text and downloading bars:
vae/diffusion_pytorch_model.safetensors: 60%|██████████████████████████████████████████████████████▊ | 199M/335M [03:34<02:43, 827kB/s]
text_encoder/model.safetensors: 34%|██████████████████████████████████▍ | 168M/492M [03:24<06:47, 795kB/s]
unet/diffusion_pytorch_model.safetensors: 4%|███▍ | 136M/3.44G [03:26<1:13:27, 749kB/s]
safety_checker/model.safetensors: 11%|██████████▉ | 136M/1.22G [03:29<24:59, 720kB/s]
How to prevent again and again installation and finding of these files?