Skip to content

Commit

Permalink
Update sdwebui.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lss233 authored Apr 18, 2023
1 parent cb11626 commit ed4f0c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drawing/sdwebui.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async def text_to_img(self, prompt):
'sampler_index': config.sdwebui.sampler_index
}

for key, value in config.sdwebui.dict(exclude=['api_url', 'timeout'], exclude_none=True):
for key, value in config.sdwebui.dict(exclude_none=True):
if isinstance(value, bool):
payload[key] = 'true' if value else 'false'
else:
Expand Down

0 comments on commit ed4f0c5

Please sign in to comment.