Update app.py
Browse files
app.py
CHANGED
|
@@ -25,6 +25,9 @@ def run_hidiffusion(prompt, negative_prompt="", progress=gr.Progress(track_tqdm=
|
|
| 25 |
return images
|
| 26 |
|
| 27 |
|
|
|
|
|
|
|
|
|
|
| 28 |
with gr.Blocks() as demo:
|
| 29 |
gr.Markdown("# AI Human Model Generator")
|
| 30 |
|
|
@@ -41,22 +44,23 @@ with gr.Blocks() as demo:
|
|
| 41 |
btn.click(fn=run_hidiffusion, inputs=[prompt, negative_prompt], outputs=[output_gallery])
|
| 42 |
|
| 43 |
gr.Examples(examples=[
|
| 44 |
-
"a beautiful model woman, full body visible, model pose, direct frontal gaze, white color background,
|
| 45 |
-
"a beautiful model woman, 20 year aged, Caucasian ethnicity, nurse uniform attire, full body visible, model pose, direct frontal gaze, white color background,
|
| 46 |
-
"a beautiful model woman, Caucasian ethnicity, full body visible, model pose, direct frontal gaze, white color background,
|
| 47 |
-
"a beautiful model woman, Black ethnicity, full body visible, model pose, direct frontal gaze, white color background,
|
| 48 |
-
"a beautiful model woman, Caucasian ethnicity,
|
| 49 |
-
"a beautiful model woman, Caucasian ethnicity,casual attire, full body visible, model pose, direct frontal gaze, white color background,
|
| 50 |
-
"a beautiful model woman, golf wear attire, full body visible, model pose, direct frontal gaze, white color background,
|
| 51 |
-
"a handsome model man, full body visible, model pose, direct frontal gaze, white color background,
|
| 52 |
-
"a handsome model man, Caucasian ethnicity,uniform attire, full body visible, model pose, suite wear, direct frontal gaze, blue color background,
|
| 53 |
-
"a handsome model man,
|
| 54 |
-
"a handsome model man, Caucasian ethnicity, full body visible, model pose, direct frontal gaze, white color background,
|
| 55 |
-
"a handsome model man, Caucasian ethnicity,
|
| 56 |
-
"a handsome model man, casual attire, pilot uniform attire, full body visible, model pose, direct frontal gaze, white color background,
|
| 57 |
-
"a handsome model man, Caucasian ethnicity,golf wear attire, full body visible, model pose, direct frontal gaze, gray color background,
|
| 58 |
],
|
| 59 |
inputs=[prompt],
|
| 60 |
outputs=[output_gallery])
|
| 61 |
|
| 62 |
-
|
|
|
|
|
|
| 25 |
return images
|
| 26 |
|
| 27 |
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
|
| 31 |
with gr.Blocks() as demo:
|
| 32 |
gr.Markdown("# AI Human Model Generator")
|
| 33 |
|
|
|
|
| 44 |
btn.click(fn=run_hidiffusion, inputs=[prompt, negative_prompt], outputs=[output_gallery])
|
| 45 |
|
| 46 |
gr.Examples(examples=[
|
| 47 |
+
("a beautiful model woman, full body visible, model pose, direct frontal gaze, white color background, high quality, UHD",),
|
| 48 |
+
("a beautiful model woman, 20 year aged, Caucasian ethnicity, nurse uniform attire, full body visible, model pose, direct frontal gaze, white color background, high quality, UHD",),
|
| 49 |
+
("a beautiful model woman, Caucasian ethnicity, full body visible, model pose, direct frontal gaze, white color background, high quality, UHD",),
|
| 50 |
+
("a beautiful model woman, Black ethnicity, full body visible, model pose, direct frontal gaze, white color background, high quality, UHD",),
|
| 51 |
+
("a beautiful model woman, Caucasian ethnicity, business attire, full body visible, model pose, direct frontal gaze, white color background, high quality, UHD",),
|
| 52 |
+
("a beautiful model woman, Caucasian ethnicity, casual attire, full body visible, model pose, direct frontal gaze, white color background, high quality, UHD",),
|
| 53 |
+
("a beautiful model woman, golf wear attire, full body visible, model pose, direct frontal gaze, white color background, high quality, UHD",),
|
| 54 |
+
("a handsome model man, full body visible, model pose, direct frontal gaze, white color background, high quality, UHD",),
|
| 55 |
+
("a handsome model man, Caucasian ethnicity, uniform attire, full body visible, model pose, suite wear, direct frontal gaze, blue color background, high quality, UHD",),
|
| 56 |
+
("a handsome model man, business attire, full body visible, model pose, direct frontal gaze, white color background, high quality, UHD",),
|
| 57 |
+
("a handsome model man, Caucasian ethnicity, full body visible, model pose, direct frontal gaze, white color background, 16k",),
|
| 58 |
+
("a handsome model man, Caucasian ethnicity, business attire, Black ethnicity, full body visible, model pose, direct frontal gaze, white color background, high quality, UHD",),
|
| 59 |
+
("a handsome model man, casual attire, pilot uniform attire, full body visible, model pose, direct frontal gaze, white color background, high quality, UHD",),
|
| 60 |
+
("a handsome model man, Caucasian ethnicity, golf wear attire, full body visible, model pose, direct frontal gaze, gray color background, high quality, UHD",)
|
| 61 |
],
|
| 62 |
inputs=[prompt],
|
| 63 |
outputs=[output_gallery])
|
| 64 |
|
| 65 |
+
|
| 66 |
+
demo.launch()
|