Skip to content

Commit

Permalink
fix(api): correct type of provider in output path
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jan 15, 2023
1 parent e429baf commit b1aca92
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/onnx_web/serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ def img2img():
'img2img',
seed, (
model,
provider.__name__,
provider,
scheduler.__name__,
prompt,
negative_prompt,
Expand Down Expand Up @@ -487,7 +487,7 @@ def txt2img():
'txt2img',
seed, (
model,
provider.__name__,
provider,
scheduler.__name__,
prompt,
negative_prompt,
Expand Down Expand Up @@ -544,7 +544,7 @@ def inpaint():
(output_file, output_full) = make_output_path(
'inpaint', seed, (
model,
provider.__name__,
provider,
scheduler.__name__,
prompt,
negative_prompt,
Expand Down

0 comments on commit b1aca92

Please sign in to comment.