Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -84,17 +84,16 @@ async def gen(
|
|
84 |
return image, seed
|
85 |
|
86 |
examples = [
|
87 |
-
["a seal holding a beach ball in a pool
|
88 |
["1980s anime screengrab, VHS quality, a woman with her face glitching and disorted, a halo above her head","dataautogpt3/FLUX-SyntheticAnime","1980s anime screengrab, VHS quality"],
|
89 |
["photograph, background of Earth from space, red car on the Moon watching Earth","martintomov/retrofuturism-flux","retrofuturism"],
|
90 |
["a living room interior","fofr/flux-80s-cyberpunk","80s cyberpunk"],
|
91 |
-
["Shrek, a lovable green ogre with a big smile, sitting on a moss-covered rock while enjoying a plate of freshly picked vegetables, in a magical forest filled with whimsical creatures, dappled sunlight filtering through the trees, surrounded by curious fairies peeking out from behind leaves",
|
92 |
["a tourist in London, illustration in the style of VCTRNDRWNG, Victorian-era drawing","dvyio/flux-lora-victorian-drawing","illustration in the style of VCTRNDRWNG"],
|
93 |
["an African American and a caucasian man petting a cat at a busy electronic store. flikr photo from 2012. three people working in the background","kudzueye/boreal-flux-dev-v2","photo"],
|
94 |
["mgwr/cine, woman silhouette, morning light, sun rays, indoor scene, soft focus, golden hour, stretching pose, peaceful mood, cozy atmosphere, window light, shadows and highlights, backlit figure, minimalistic interior, warm tones, contemplative moment, calm energy, serene environment, yoga-inspired, elegant posture, natural light beams, artistic composition","mgwr/Cine-Aesthetic","atmospheric lighting and a dreamy, surreal vibe"]
|
95 |
]
|
96 |
|
97 |
-
|
98 |
# Gradio Interface
|
99 |
|
100 |
with gr.Blocks(css=CSS, js=JS, theme="Nymbo/Nymbo_Theme") as demo:
|
@@ -182,10 +181,8 @@ with gr.Blocks(css=CSS, js=JS, theme="Nymbo/Nymbo_Theme") as demo:
|
|
182 |
steps,
|
183 |
seed
|
184 |
],
|
185 |
-
outputs=[img, seed]
|
186 |
-
api_name="run",
|
187 |
)
|
188 |
|
189 |
-
|
190 |
-
|
191 |
-
demo.queue().launch()
|
|
|
84 |
return image, seed
|
85 |
|
86 |
examples = [
|
87 |
+
["a seal holding a beach ball in a pool","bingbangboom/flux_dreamscape","in the style of BSstyle004"],
|
88 |
["1980s anime screengrab, VHS quality, a woman with her face glitching and disorted, a halo above her head","dataautogpt3/FLUX-SyntheticAnime","1980s anime screengrab, VHS quality"],
|
89 |
["photograph, background of Earth from space, red car on the Moon watching Earth","martintomov/retrofuturism-flux","retrofuturism"],
|
90 |
["a living room interior","fofr/flux-80s-cyberpunk","80s cyberpunk"],
|
91 |
+
["Shrek, a lovable green ogre with a big smile, sitting on a moss-covered rock while enjoying a plate of freshly picked vegetables, in a magical forest filled with whimsical creatures, dappled sunlight filtering through the trees, surrounded by curious fairies peeking out from behind leaves","alvarobartt/ghibli-characters-flux-lora","Ghibli style"],
|
92 |
["a tourist in London, illustration in the style of VCTRNDRWNG, Victorian-era drawing","dvyio/flux-lora-victorian-drawing","illustration in the style of VCTRNDRWNG"],
|
93 |
["an African American and a caucasian man petting a cat at a busy electronic store. flikr photo from 2012. three people working in the background","kudzueye/boreal-flux-dev-v2","photo"],
|
94 |
["mgwr/cine, woman silhouette, morning light, sun rays, indoor scene, soft focus, golden hour, stretching pose, peaceful mood, cozy atmosphere, window light, shadows and highlights, backlit figure, minimalistic interior, warm tones, contemplative moment, calm energy, serene environment, yoga-inspired, elegant posture, natural light beams, artistic composition","mgwr/Cine-Aesthetic","atmospheric lighting and a dreamy, surreal vibe"]
|
95 |
]
|
96 |
|
|
|
97 |
# Gradio Interface
|
98 |
|
99 |
with gr.Blocks(css=CSS, js=JS, theme="Nymbo/Nymbo_Theme") as demo:
|
|
|
181 |
steps,
|
182 |
seed
|
183 |
],
|
184 |
+
outputs=[img, seed]
|
|
|
185 |
)
|
186 |
|
187 |
+
if __name__ == "__main__":
|
188 |
+
demo.queue(api_open=False).launch(show_api=False, share=False)
|
|