Spaces:
Runtime error
Runtime error
Commit
•
43c5610
1
Parent(s):
46e6575
adding examples and caching to the app (#1)
Browse files- adding examples and caching to the app (1efee9a68b2e7c158a9b8e1b4be22206d1eb01de)
Co-authored-by: yuvraj sharma <ysharma@users.noreply.huggingface.co>
app.py
CHANGED
@@ -55,6 +55,31 @@ With just 0.6 billion parameters, PixArt-Sigma reaches new heights in text-to-im
|
|
55 |
|
56 |
For more information, visit the original [repository](https://github.com/PixArt-alpha/PixArt-sigma) and follow the HF Space creator on Twitter at [@artificialguybr](https://twitter.com/artificialguybr).
|
57 |
""",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
)
|
59 |
|
60 |
interface.launch()
|
|
|
55 |
|
56 |
For more information, visit the original [repository](https://github.com/PixArt-alpha/PixArt-sigma) and follow the HF Space creator on Twitter at [@artificialguybr](https://twitter.com/artificialguybr).
|
57 |
""",
|
58 |
+
examples = [
|
59 |
+
["Close-up, gray-haired, bearded man in 60s, observing passersby, in wool coat and brown beret, glasses, cinematic.", "blur, disfigured, ugly, low resolution", 30, 6, 1024, 1024],
|
60 |
+
["Body shot, a French woman, Photography, French Streets background, backlight, rim light, Fujifilm.", "blur, disfigured, ugly, low resolution", 30, 6, 1024, 1024],
|
61 |
+
["Photorealistic closeup video of two pirate ships battling each other as they sail inside a cup of coffee.", "blur, disfigured, ugly, low resolution", 30, 6, 1024, 1024],
|
62 |
+
["Eiffel Tower was Made up of more than 2 million translucent straws to look like a cloud, with the bell tower at the top of the building, Michel installed huge foam-making machines in the forest to blow huge amounts of unpredictable wet clouds in the building's classic architecture.", "blur, disfigured, ugly, low resolution", 30, 6, 1024, 1024],
|
63 |
+
["Close-up photos of models, hazy light and shadow, laser metal hair accessories, soft and beautiful, light gold pupils, white eyelashes, low saturation, real skin details, clear pores and fine lines, light reflection and refraction, ultra-clear, cinematography, award-winning works.", "blur, disfigured, ugly, low resolution", 30, 6, 1024, 1024],
|
64 |
+
["A gorgeously rendered papercraft world of a coral reef, rife with colorful fish and sea creatures.", "blur, disfigured, ugly, low resolution", 30, 6, 1024, 1024],
|
65 |
+
["Lego model, future rocket station, intricate details, high resolution, unreal engine, UHD", "blur, disfigured, ugly, low resolution", 30, 6, 1024, 1024],
|
66 |
+
["One giant, sharp, metal square mirror in the center of the frame, four young people on the foreground, background sunny palm oil planation, tropical, realistic style, photography, nostalgic, green tone, mysterious, dreamy, bright color.", "blur, disfigured, ugly, low resolution", 30, 6, 1024, 1024],
|
67 |
+
["Modern luxury contemporary luxury home interiors house, in the style of mimicking ruined materials, ray tracing, haunting houses, and stone, capture the essence of nature, gray and bronze, dynamic outdoor shots.", "blur, disfigured, ugly, low resolution", 30, 6, 1024, 1024],
|
68 |
+
["Over the shoulder game perspective, game screen of Diablo 4, Inside the gorgeous palace is the wet ground, The necromancer knelt before the king, and a horde of skeletons he summoned stood at his side, cinematic light.", "blur, disfigured, ugly, low resolution", 30, 6, 1024, 1024],
|
69 |
+
["Drone view of waves crashing against the rugged cliffs along Big Sur’s Garay Point beach. The crashing blue waters create white-tipped waves, while the golden light of the setting sun illuminates the rocky shore.", "blur, disfigured, ugly, low resolution", 30, 6, 1024, 1024],
|
70 |
+
["A Japanese girl walking along a path, surrounded by blooming oriental cherries, pink petals slowly falling down to the ground.", "blur, disfigured, ugly, low resolution", 30, 6, 1024, 1024],
|
71 |
+
["A Ukiyoe-style painting, an astronaut riding a unicorn, In the background there is an ancient Japanese architecture.", "blur, disfigured, ugly, low resolution", 30, 6, 1024, 1024],
|
72 |
+
["Color photo of a corgi made of transparent glass, standing on the riverside in Yosemite National Park.", "blur, disfigured, ugly, low resolution", 30, 6, 1024, 1024],
|
73 |
+
["A car made out of vegetables.", "blur, disfigured, ugly, low resolution", 30, 6, 1024, 1024],
|
74 |
+
["A deep forest clearing with a mirrored pond reflecting a galaxy-filled night sky.", "blur, disfigured, ugly, low resolution", 30, 6, 1024, 1024],
|
75 |
+
["A realistic landscape shot of the Northern Lights dancing over a snowy mountain range in Iceland.", "blur, disfigured, ugly, low resolution", 30, 6, 1024, 1024],
|
76 |
+
["Game-Art - An island with different geographical properties and multiple small cities floating in space", "blur, disfigured, ugly, low resolution", 30, 6, 1024, 1024],
|
77 |
+
["A serene lakeside during autumn with trees displaying a palette of fiery colors.", "blur, disfigured, ugly, low resolution", 30, 6, 1024, 1024],
|
78 |
+
["Happy dreamy owl monster sitting on a tree branch, colorful glittering particles, forest background, detailed feathers.", "blur, disfigured, ugly, low resolution", 30, 6, 1024, 1024],
|
79 |
+
["Astronaut on Mars During sunset.", "blur, disfigured, ugly, low resolution", 30, 6, 1024, 1024]
|
80 |
+
],
|
81 |
+
cache_examples=True,
|
82 |
+
examples_per_page=6,
|
83 |
)
|
84 |
|
85 |
interface.launch()
|