redpeacock78 commited on
Commit
73557cf
Β·
1 Parent(s): 84ac857

fix: Fix app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,3 +1,4 @@
1
  import gradio as gr
2
 
3
- gr.Interface.load("models/redpeacock78/test/IllustroMeld - ((AnythingV5:50%+SomethingV2.2:%50):70%+BalorMixV4.3:%30):70%+((Hyperanatomy_MegamergeV1:70%+gape60:30%):80%+SodaMixV10:30%):30%.safetensors").launch()
 
 
1
  import gradio as gr
2
 
3
+ auth_token = os.environ.get("TOKEN_FROM_SECRET") or True
4
+ gr.Interface.load("models/redpeacock78/test/IllustroMeld - ((AnythingV5:50%+SomethingV2.2:%50):70%+BalorMixV4.3:%30):70%+((Hyperanatomy_MegamergeV1:70%+gape60:30%):80%+SodaMixV10:30%):30%.safetensors", use_auth_token=auth_token).launch()