Update app.py
Browse files
app.py
CHANGED
@@ -25,9 +25,6 @@ def run_hidiffusion(prompt, negative_prompt="", progress=gr.Progress(track_tqdm=
|
|
25 |
return images
|
26 |
|
27 |
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
with gr.Blocks() as demo:
|
32 |
gr.Markdown("# AI Human Model Generator")
|
33 |
|
@@ -57,10 +54,10 @@ with gr.Blocks() as demo:
|
|
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()
|
|
|
25 |
return images
|
26 |
|
27 |
|
|
|
|
|
|
|
28 |
with gr.Blocks() as demo:
|
29 |
gr.Markdown("# AI Human Model Generator")
|
30 |
|
|
|
54 |
("a handsome model man, Caucasian ethnicity, full body visible, model pose, direct frontal gaze, white color background, 16k",),
|
55 |
("a handsome model man, Caucasian ethnicity, business attire, Black ethnicity, full body visible, model pose, direct frontal gaze, white color background, high quality, UHD",),
|
56 |
("a handsome model man, casual attire, pilot uniform attire, full body visible, model pose, direct frontal gaze, white color background, high quality, UHD",),
|
57 |
+
("a handsome model man, Caucasian ethnicity, golf wear attire, full body visible, model pose, direct frontal gaze, gray color background, high quality, UHD",)
|
58 |
],
|
59 |
inputs=[prompt],
|
60 |
+
outputs=[output_gallery],
|
61 |
+
fn=run_hidiffusion) # μ΄ μ€μ μΆκ°νμ¬ μμ μ μ€ν ν¨μλ₯Ό μ§μ ν©λλ€.
|
62 |
|
63 |
+
demo.launch()
|