Spaces:
Sleeping
Sleeping
add
Browse files
model.py
CHANGED
@@ -7,7 +7,7 @@ def get_pipeline():
|
|
7 |
|
8 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
9 |
torch_dtype = torch.float16 if torch.cuda.is_available() else torch.float32
|
10 |
-
print("
|
11 |
pipe = AutoPipelineForImage2Image.from_pretrained(
|
12 |
"SimianLuo/LCM_Dreamshaper_v7",
|
13 |
use_safetensors=True,
|
|
|
7 |
|
8 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
9 |
torch_dtype = torch.float16 if torch.cuda.is_available() else torch.float32
|
10 |
+
print("下载文件")
|
11 |
pipe = AutoPipelineForImage2Image.from_pretrained(
|
12 |
"SimianLuo/LCM_Dreamshaper_v7",
|
13 |
use_safetensors=True,
|