sayakpaul HF staff commited on
Commit
053606a
1 Parent(s): 632014f

fix condition

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -93,7 +93,7 @@ def load_pipeline(
93
  # Load pipeline.
94
  if (
95
  "ControlNet" not in pipeline_to_benchmark
96
- or "Adapters" not in pipeline_to_benchmark
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