fix token counter error style with modernui

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-03-24 18:08:33 -04:00
parent 6fe4b0604a
commit 06b0abc4f4
6 changed files with 16 additions and 12 deletions
+2 -1
View File
@@ -764,7 +764,6 @@ def set_diffuser_pipe(pipe, new_pipe_type):
'InstantIRPipeline',
'FluxFillPipeline',
'FluxControlPipeline',
'StableVideoDiffusionPipeline',
'PixelSmithXLPipeline',
'PhotoMakerStableDiffusionXLPipeline',
'StableDiffusionXLInstantIDPipeline',
@@ -781,6 +780,8 @@ def set_diffuser_pipe(pipe, new_pipe_type):
cls = pipe.__class__.__name__
if cls in exclude:
return pipe
if 'Video' in cls:
return pipe
if 'Onnx' in cls:
return pipe