Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loop and Repeat Output #103

Open
Liuqh12 opened this issue Jun 26, 2024 · 2 comments
Open

Loop and Repeat Output #103

Liuqh12 opened this issue Jun 26, 2024 · 2 comments

Comments

@Liuqh12
Copy link

Liuqh12 commented Jun 26, 2024

Q1

My prompt:

The golden sun slowly rises from the blue to black sea level, and the white clouds on the beach also have to be rendered golden. 
Fish jump out of the water, and a few seagulls fly by, faintly seeing a thin mist.

Parameters

all default

Chat output

# Initialize the canvas
canvas = Canvas()

# Set a global description for the canvas
canvas.set_global_description(
    description='The golden sun slowly rises from the blue to black sea level, and the white clouds on the beach also have to be
 rendered golden. Fish jump out of the water, and a few seagulls fly by, faintly seeing a thin mist.',
    detailed_descriptions=[
        'In this captivating scene, the golden sun is rising slowly from the sea level, transitioning from blue to black.',
        'The white clouds on the beach are bathed in golden hues, creating a mesmerizing contrast.',
        'The sea itself is a mix of blue and black, with golden reflections.',
        'Fish are seen jumping out of the water, adding a sense of motion and life to the scene.',
        'A few seagulls can be seen flying by, their silhouettes faintly visible against the golden backdrop.',
        'A thin mist hovers over the water, adding an ethereal quality to the scene.',
    ],
    tags='golden sun, blue sea, black sea, white clouds, golden hues, sea level, fish jumping, seagulls flying, thin mist, captivating scene,
 mesmerizing contrast, motion, life, silhouettes, ethereal quality, bathed in golden hues, golden reflections, blue to black transition, sea 
level, beach, morning, sunrise, nature, marine life, clouds, mist, sunrises, coastal, reflections, ethereal, marine, sky, reflections, sea, mist, 
marine life, morning, sunrise, nature, clouds, reflections, coastal, ethereal, morning, sunrise, nature, marine, sky, reflections, sea, mist, 
marine life, morning, sunrise, nature, clouds, reflections, coastal, ethereal, morning, sunrise, nature, marine, sky, reflections, sea, mist, 
marine life, morning, sunrise, nature, clouds, reflections, coastal, ethereal, morning, sunrise, nature, marine, sky, reflections, sea, mist, 
marine life, morning, sunrise, nature, clouds, reflections, coastal, ethereal, morning, sunrise, nature, marine, sky, reflections, sea, mist,
marine life, morning, sunrise, nature, clouds, reflections, coastal, ethereal, morning, sunrise, nature, marine, sky, reflections, sea, mist, 
marine life, morning, sunrise, nature, clouds, reflections, coastal, ethereal, morning, sunrise, nature, marine, sky, reflections, sea, mist, 
marine life, morning, sunrise, nature, clouds, reflections, coastal, ethereal, morning, sunrise, nature, marine, sky, reflections, sea, mist, 

keep loop until I click 'Stop' button.

Q2

You code:

def greedy_partition(items, max_sum):

seems not a greedy algorithm, just group input_ids limited by 75-len(global.desc). Any detail I ignored? If not, how about PriorityQueue?

Thanks !

@Iteachyou233
Copy link

You can modify the “temperature” parameter.

@Liuqh12
Copy link
Author

Liuqh12 commented Aug 21, 2024

You can modify the “temperature” parameter.

Sure,it is. I prefer to avoid it during the generation process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants