This commit is contained in:
Disty0
2023-08-22 10:39:38 +03:00
parent 12fd9151a7
commit 374307dd8a
3 changed files with 11 additions and 14 deletions
+2
View File
@@ -184,6 +184,8 @@ class State:
state = State()
state.server_start = time.time()
if not hasattr(cmd_opts, "use_openvino"):
cmd_opts.use_openvino = False
if cmd_opts.use_openvino:
backend = Backend.DIFFUSERS
cmd_opts.backend = 'diffusers'