ginipick commited on
Commit
ac4d2ed
β€’
1 Parent(s): 09a7df4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -7
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()