Skip to content

[Bug]: Prompt Scheduling Code Comment is Wrong #13796

@Meerkov

Description

@Meerkov

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

# a prompt like this: "fantasy landscape with a [mountain:lake:0.25] and [an oak:a christmas tree:0.75][ in foreground::0.6][ in background:0.25] [shoddy:masterful:0.5]"

# a prompt like this: "fantasy landscape with a [mountain:lake:0.25] and [an oak:a christmas tree:0.75][ in foreground::0.6][ in background:0.25] [shoddy:masterful:0.5]"
# will be represented with prompt_schedule like this (assuming steps=100):
# [25, 'fantasy landscape with a mountain and an oak in foreground shoddy']
# [50, 'fantasy landscape with a lake and an oak in foreground in background shoddy']
# [60, 'fantasy landscape with a lake and an oak in foreground in background masterful']
# [75, 'fantasy landscape with a lake and an oak in background masterful']
# [100, 'fantasy landscape with a lake and a christmas tree in background masterful']

Notice that [ in background:0.25] has only one colon. This schedule is badly formatted. Currently, this represents an "emphasis" rather than a schedule.

If this example is to match the output above, it needs to be [:in background:0.25]

Steps to reproduce the problem

.

What should have happened?

.

Sysinfo

.

What browsers do you use to access the UI ?

No response

Console logs

.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-reportReport of a bug, yet to be confirmed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions