Spaces:
Sleeping
Sleeping
blancamartin
commited on
Commit
·
5e02c97
1
Parent(s):
7477030
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ import gradio as gr
|
|
18 |
# Cargamos el learner
|
19 |
#learn = load_learner('export.pkl')
|
20 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
21 |
-
model = torch.jit.load("
|
22 |
model = model.cpu()
|
23 |
model.eval()
|
24 |
|
|
|
18 |
# Cargamos el learner
|
19 |
#learn = load_learner('export.pkl')
|
20 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
21 |
+
model = torch.jit.load("unet.pth")
|
22 |
model = model.cpu()
|
23 |
model.eval()
|
24 |
|