test / app.py
redpeacock78
fix: Fix app.py
7cef35a
raw
history blame
505 Bytes
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()