Spaces:
Runtime error
Runtime error
С Чичерин
commited on
Commit
•
26ee91d
1
Parent(s):
3c9f42d
fixed gpu issue
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from test import inference_img
|
3 |
from models import *
|
4 |
|
5 |
-
device='
|
6 |
model = MaskForm()
|
7 |
model = model.to(device)
|
8 |
checkpoint = f"stylematte.pth"
|
|
|
2 |
from test import inference_img
|
3 |
from models import *
|
4 |
|
5 |
+
device='cpu'
|
6 |
model = MaskForm()
|
7 |
model = model.to(device)
|
8 |
checkpoint = f"stylematte.pth"
|