File size: 505 Bytes
35af513
7cef35a
84ac857
 
7cef35a
 
73557cf
7cef35a
1
2
3
4
5
6
7
8
9
import os
import torch
import gradio as gr

torch.hub.download_url_to_file("https://huggingface.co/redpeacock78/test/resolve/main/IllustroMeld%20-%20((AnythingV5%3A50%25%2BSomethingV2.2%3A%2550)%3A70%25%2BBalorMixV4.3%3A%2530)%3A70%25%2B((Hyperanatomy_MegamergeV1%3A70%25%2Bgape60%3A30%25)%3A80%25%2BSodaMixV10%3A30%25)%3A30%25.safetensors", "IllustroMeld.safetensors")

auth_token = os.environ.get("TOKEN_FROM_SECRET") or True
gr.Interface.load("./IllustroMeld.safetensors", api_key=auth_token).launch()