Skip to content

Commit

Permalink
Update api.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesfeng123 committed Apr 24, 2023
1 parent f8c29b9 commit 286d791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/api/api.py
Expand Up @@ -766,7 +766,7 @@ def invocations(self, req: InvocationsRequest):

if req.options != None:
#here I changed json.loads(req.options) into no need of json.loads()
options = json.loads(req.options)
options = req.options
for key in options:
shared.opts.data[key] = options[key]
print(shared.opts.data)
Expand Down

0 comments on commit 286d791

Please sign in to comment.