Skip to content

Commit 286d791

Browse files
Update api.py
1 parent f8c29b9 commit 286d791

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/api/api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ def invocations(self, req: InvocationsRequest):
766766

767767
if req.options != None:
768768
#here I changed json.loads(req.options) into no need of json.loads()
769-
options = json.loads(req.options)
769+
options = req.options
770770
for key in options:
771771
shared.opts.data[key] = options[key]
772772
print(shared.opts.data)

0 commit comments

Comments
 (0)