File size: 335 Bytes
5b879f4
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
from huggingface_hub import hf_hub_download

# Replace "model_name" with the actual model name
model_info_path = hf_hub_download("shuttleai/shuttle-3-diffusion", filename="model_index.json")

# Now you can read the contents of the file
with open(model_info_path, "r") as f:
    model_info_content = f.read()

print(model_info_content)