Spaces:
Running
on
A10G
Running
on
A10G
fix condition
Browse files
app.py
CHANGED
|
@@ -93,7 +93,7 @@ def load_pipeline(
|
|
| 93 |
# Load pipeline.
|
| 94 |
if (
|
| 95 |
"ControlNet" not in pipeline_to_benchmark
|
| 96 |
-
|
| 97 |
):
|
| 98 |
pipeline = pipeline_cls.from_pretrained(pipeline_ckpt, torch_dtype=dtype)
|
| 99 |
|
|
|
|
| 93 |
# Load pipeline.
|
| 94 |
if (
|
| 95 |
"ControlNet" not in pipeline_to_benchmark
|
| 96 |
+
and "Adapters" not in pipeline_to_benchmark
|
| 97 |
):
|
| 98 |
pipeline = pipeline_cls.from_pretrained(pipeline_ckpt, torch_dtype=dtype)
|
| 99 |
|