Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
d3x-at committed Sep 22, 2024
1 parent f16d3d5 commit 831985e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def main():
if params is None:
return

image_generator, metadata = params
parser, metadata, parsing_context = params

...
```
Expand Down Expand Up @@ -91,14 +91,14 @@ def main():
parameters, parsing_context = parser.read_parameters(image)

# parse() builds a standardized data structure from the raw parameters
samplers, metadata = parser.parse(parameters, parsing_context)
generator, samplers, metadata = parser.parse(parameters, parsing_context)

except ParserError:
...

# creating a PromptInfo object from the obtained data allows for the use
# of convenience poperties like ".prompts" or ".models"
prompt_info = PromptInfo(parser, samplers, metadata)
prompt_info = PromptInfo(generator, samplers, metadata)
```

### Output
Expand Down

0 comments on commit 831985e

Please sign in to comment.