zhiweili
commited on
Commit
Β·
44785f8
1
Parent(s):
812f35c
fix base pipe
Browse files- app_onediff.py +0 -6
app_onediff.py
CHANGED
@@ -44,12 +44,6 @@ base_pipe = AutoPipelineForText2Image.from_pretrained(
|
|
44 |
)
|
45 |
base_pipe.to(device)
|
46 |
|
47 |
-
base_pipe = base_pipe.to(device, silence_dtype_warnings=True)
|
48 |
-
base_pipe.scheduler = DDPMScheduler.from_pretrained(
|
49 |
-
BASE_MODEL,
|
50 |
-
subfolder="scheduler",
|
51 |
-
)
|
52 |
-
|
53 |
base_pipe = nexfort_compile(base_pipe)
|
54 |
|
55 |
def create_demo() -> gr.Blocks:
|
|
|
44 |
)
|
45 |
base_pipe.to(device)
|
46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
base_pipe = nexfort_compile(base_pipe)
|
48 |
|
49 |
def create_demo() -> gr.Blocks:
|