Spaces:
Sleeping
Sleeping
Update app.py
Browse files117 unmodified lines118119120121122123124125126127128129130131132133136 unmodified lines270271272273274275276277278117 unmodified lines
return pipe(**params).images[0]
examples = [ "Puss in Boots wearing a sombrero crosses the Grand Canyon on a tightrope with a guitar.", "A cat is playing a song called ""About the Cat"" on an accordion by the sea at sunset. The sun is quickly setting behind the horizon, and the light is fading.", "A cat walks through the grass on the streets of an abandoned city. The camera view is always focused on the cat's face.", "A young lady in a Russian embroidered kaftan is sitting on a beautiful carved veranda, holding a cup to her mouth and drinking tea from the cup. With her other hand, the girl holds a saucer. The cup and saucer are painted with gzhel. Next to the girl on the table stands a samovar, and steam can be seen above it.", "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k", "An astronaut riding a green horse", "A delicious ceviche cheesecake slice",]
css = """#col-container { margin: 0 auto;136 unmodified lines value=512, # Replace with defaults that work for your model ) gr.Examples(examples=examples, inputs=[prompt])
run_button = gr.Button("Run", scale=0, variant="primary") result = gr.Image(label="Result", show_label=False) app.py+13