From 6e8f4f584bdd295690999f24d561ef9f7abb7500 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Tue, 29 Apr 2025 17:08:55 +0200 Subject: [PATCH] fix(diffusers): consider options only in form of key/value (#5277) Signed-off-by: Ettore Di Giacinto --- backend/python/diffusers/backend.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/python/diffusers/backend.py b/backend/python/diffusers/backend.py index 7d6a2a17..2d8db533 100755 --- a/backend/python/diffusers/backend.py +++ b/backend/python/diffusers/backend.py @@ -168,9 +168,13 @@ class BackendServicer(backend_pb2_grpc.BackendServicer): # We are storing all the options in a dict so we can use it later when # generating the images for opt in options: + if ":" not in opt: + continue key, value = opt.split(":") self.options[key] = value + print(f"Options: {self.options}", file=sys.stderr) + local = False modelFile = request.Model