Update app.py
Browse files
app.py
CHANGED
@@ -33,6 +33,7 @@ def run_hidiffusion_15(prompt, negative_prompt="", progress=gr.Progress(track_tq
|
|
33 |
images.append(result.images[0])
|
34 |
return images
|
35 |
|
|
|
36 |
with gr.Blocks() as demo:
|
37 |
gr.Markdown("# AI Human Model Generator")
|
38 |
|
@@ -64,8 +65,8 @@ with gr.Blocks() as demo:
|
|
64 |
"a handsome model man, casual attire, pilot uniform attire, full body visible, model pose, direct frontal gaze, white color background, realritics photo, High Quaility, UHD",
|
65 |
"a handsome model man, Caucasian ethnicity,golf wear attire, full body visible, model pose, direct frontal gaze, gray color background, realritics photo, High Quaility, UHD"
|
66 |
],
|
67 |
-
inputs=[
|
68 |
-
outputs=[
|
69 |
|
70 |
with gr.Tab("2048x2048"):
|
71 |
with gr.Row():
|
@@ -97,5 +98,5 @@ with gr.Blocks() as demo:
|
|
97 |
],
|
98 |
inputs=[prompt],
|
99 |
outputs=[output_gallery])
|
100 |
-
|
101 |
-
demo.launch()
|
|
|
33 |
images.append(result.images[0])
|
34 |
return images
|
35 |
|
36 |
+
|
37 |
with gr.Blocks() as demo:
|
38 |
gr.Markdown("# AI Human Model Generator")
|
39 |
|
|
|
65 |
"a handsome model man, casual attire, pilot uniform attire, full body visible, model pose, direct frontal gaze, white color background, realritics photo, High Quaility, UHD",
|
66 |
"a handsome model man, Caucasian ethnicity,golf wear attire, full body visible, model pose, direct frontal gaze, gray color background, realritics photo, High Quaility, UHD"
|
67 |
],
|
68 |
+
inputs=[prompt_15],
|
69 |
+
outputs=[output_gallery_15]) # 변수 이름을 올바르게 수정
|
70 |
|
71 |
with gr.Tab("2048x2048"):
|
72 |
with gr.Row():
|
|
|
98 |
],
|
99 |
inputs=[prompt],
|
100 |
outputs=[output_gallery])
|
101 |
+
|
102 |
+
demo.launch()
|