mirror of
https://github.com/openvinotoolkit/stable-diffusion-webui.git
synced 2024-12-15 07:03:06 +03:00
correct case on embeddingFromB64
This commit is contained in:
parent
d0184b8f76
commit
6684610510
@ -34,7 +34,7 @@ def embeddingToB64(data):
|
||||
d = json.dumps(data,cls=EmbeddingEncoder)
|
||||
return base64.b64encode(d.encode())
|
||||
|
||||
def EmbeddingFromB64(data):
|
||||
def embeddingFromB64(data):
|
||||
d = base64.b64decode(data)
|
||||
return json.loads(d,cls=EmbeddingDecoder)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user