redpeacock78 commited on
Commit
c49e2f3
·
1 Parent(s): 1338a42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,3 +1,6 @@
1
  import gradio as gr
 
2
 
3
- gr.Interface.load("models/WarriorMama777/OrangeMixs/AbyssOrangeMix2_sfw.ckpt").launch()
 
 
 
1
  import gradio as gr
2
+ import torch
3
 
4
+ torch.hub.download_url_to_file('https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix2/AbyssOrangeMix2_sfw.ckpt','AbyssOrangeMix2_sfw.ckpt')
5
+
6
+ gr.Interface.load('./AbyssOrangeMix2_sfw.ckpt').launch()