Spaces:
Runtime error
Runtime error
redpeacock78
commited on
Commit
β’
4e7d7a6
1
Parent(s):
4cf252d
fix: Fix app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,6 @@
|
|
1 |
-
import os
|
2 |
import torch
|
3 |
import gradio as gr
|
4 |
|
5 |
-
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")
|
6 |
|
7 |
-
|
8 |
-
gr.Interface.load("IllustroMeld.safetensors", api_key=auth_token).launch()
|
|
|
|
|
1 |
import torch
|
2 |
import gradio as gr
|
3 |
|
4 |
+
model = 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")
|
5 |
|
6 |
+
gr.Interface.from_pipeline(model).launch()
|
|