Update app.py
Browse files
app.py
CHANGED
|
@@ -48,6 +48,11 @@ with gr.Blocks() as demo:
|
|
| 48 |
output_gallery_15 = gr.Gallery(label="Results")
|
| 49 |
btn_15.click(fn=run_hidiffusion_15, inputs=[prompt_15, negative_prompt_15], outputs=[output_gallery_15])
|
| 50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
with gr.Tab("SDXL in 2048x2048"):
|
| 52 |
with gr.Row():
|
| 53 |
prompt = gr.Textbox(label="Prompt")
|
|
@@ -60,8 +65,7 @@ with gr.Blocks() as demo:
|
|
| 60 |
output_gallery = gr.Gallery(label="Results")
|
| 61 |
btn.click(fn=run_hidiffusion, inputs=[prompt, negative_prompt], outputs=[output_gallery])
|
| 62 |
|
| 63 |
-
|
| 64 |
-
gr.Examples(examples=[
|
| 65 |
"a beautiful model woman, full body visible, model pose, direct frontal gaze, white color background, realritics photo, 16k",
|
| 66 |
"a beautiful model woman, 20 year aged, Caucasian ethnicity, nurse uniform attire, full body visible, model pose, direct frontal gaze, white color background, realritics photo, 16k",
|
| 67 |
"a beautiful model woman, Caucasian ethnicity, full body visible, model pose, direct frontal gaze, white color background, realritics photo, 16k",
|
|
@@ -76,6 +80,6 @@ with gr.Blocks() as demo:
|
|
| 76 |
"a handsome model man, Caucasian ethnicity,Business attire, Black ethnicity, full body visible, model pose, direct frontal gaze, white color background, realritics photo, 16k",
|
| 77 |
"a handsome model man, casual attire, pilot uniform attire, full body visible, model pose, direct frontal gaze, white color background, realritics photo, 16k",
|
| 78 |
"a handsome model man, Caucasian ethnicity,golf wear attire, full body visible, model pose, direct frontal gaze, gray color background, realritics photo, 16k"
|
| 79 |
-
|
| 80 |
-
|
| 81 |
demo.launch()
|
|
|
|
| 48 |
output_gallery_15 = gr.Gallery(label="Results")
|
| 49 |
btn_15.click(fn=run_hidiffusion_15, inputs=[prompt_15, negative_prompt_15], outputs=[output_gallery_15])
|
| 50 |
|
| 51 |
+
gr.Examples(examples=[
|
| 52 |
+
["a beautiful woman, 20 year aged, Caucasian ethnicity, nurse uniform attire, full body visible, model pose, direct frontal gaze, white color background, realritics photo, 16k"],
|
| 53 |
+
["a handsome man, Caucasian ethnicity, full body visible, model pose, direct frontal gaze, white color background, realritics photo, 16k"]
|
| 54 |
+
], inputs=[prompt_15], outputs=[output_gallery_15])
|
| 55 |
+
|
| 56 |
with gr.Tab("SDXL in 2048x2048"):
|
| 57 |
with gr.Row():
|
| 58 |
prompt = gr.Textbox(label="Prompt")
|
|
|
|
| 65 |
output_gallery = gr.Gallery(label="Results")
|
| 66 |
btn.click(fn=run_hidiffusion, inputs=[prompt, negative_prompt], outputs=[output_gallery])
|
| 67 |
|
| 68 |
+
gr.Examples(examples=[
|
|
|
|
| 69 |
"a beautiful model woman, full body visible, model pose, direct frontal gaze, white color background, realritics photo, 16k",
|
| 70 |
"a beautiful model woman, 20 year aged, Caucasian ethnicity, nurse uniform attire, full body visible, model pose, direct frontal gaze, white color background, realritics photo, 16k",
|
| 71 |
"a beautiful model woman, Caucasian ethnicity, full body visible, model pose, direct frontal gaze, white color background, realritics photo, 16k",
|
|
|
|
| 80 |
"a handsome model man, Caucasian ethnicity,Business attire, Black ethnicity, full body visible, model pose, direct frontal gaze, white color background, realritics photo, 16k",
|
| 81 |
"a handsome model man, casual attire, pilot uniform attire, full body visible, model pose, direct frontal gaze, white color background, realritics photo, 16k",
|
| 82 |
"a handsome model man, Caucasian ethnicity,golf wear attire, full body visible, model pose, direct frontal gaze, gray color background, realritics photo, 16k"
|
| 83 |
+
], inputs=[prompt], outputs=[output_gallery])
|
| 84 |
+
|
| 85 |
demo.launch()
|