auto switch mps device to cpu device
This commit is contained in:
@@ -76,6 +76,7 @@ MANGA_LINE_MODEL_URL = os.environ.get(
|
||||
|
||||
|
||||
class Manga(InpaintModel):
|
||||
name = "manga"
|
||||
pad_mod = 16
|
||||
|
||||
def init_model(self, device, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user