Update app.py
Browse files
app.py
CHANGED
|
@@ -75,13 +75,23 @@ def inference(
|
|
| 75 |
return image, seed
|
| 76 |
|
| 77 |
# ์์ ๋ฌธ๊ตฌ: ํน์ ์ ์น์ธ Mr. KIM์ ๋ค์ํ ์ํฉ์ ๋ฌ์ฌ
|
|
|
|
| 78 |
examples = [
|
| 79 |
-
"Mr. KIM delivering a powerful speech in front of a large crowd with confident gestures and determined expression.
|
| 80 |
-
"Mr. KIM
|
| 81 |
-
"Mr. KIM
|
| 82 |
-
"Mr. KIM
|
| 83 |
-
"Mr. KIM
|
| 84 |
-
"Mr. KIM
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
]
|
| 86 |
|
| 87 |
# UI๋ฅผ ๋ถ์ ๊ณ์ด ๊ทธ๋ผ๋์์ด์
์ผ๋ก ๋์์ธ
|
|
@@ -187,9 +197,9 @@ with gr.Blocks(css=custom_css, analytics_enabled=False) as demo:
|
|
| 187 |
with gr.Group(elem_classes="model-description"):
|
| 188 |
gr.HTML("""
|
| 189 |
<p>
|
| 190 |
-
๋ณธ ๋ชจ๋ธ์ ํน์
|
| 191 |
-
|
| 192 |
-
(์์ prompt ์ฌ์ฉ ์
|
| 193 |
</p>
|
| 194 |
""")
|
| 195 |
|
|
|
|
| 75 |
return image, seed
|
| 76 |
|
| 77 |
# ์์ ๋ฌธ๊ตฌ: ํน์ ์ ์น์ธ Mr. KIM์ ๋ค์ํ ์ํฉ์ ๋ฌ์ฌ
|
| 78 |
+
|
| 79 |
examples = [
|
| 80 |
+
"Mr. KIM delivering a powerful speech in front of a large crowd with confident gestures and determined expression. ",
|
| 81 |
+
"Mr. KIM holding a press conference, facing flashing cameras, wearing a tailored suit and a subtle lapel pin. ",
|
| 82 |
+
"Mr. KIM visiting a rural area, warmly greeting local residents 'all womans'(different faces) while discussing policies and improvements. ",
|
| 83 |
+
"Mr. KIM in a dynamic interview setting, passionately outlining his visions for the future.",
|
| 84 |
+
"Mr. KIM preparing for an important debate, surrounded by paperwork, looking focused and resolute. ",
|
| 85 |
+
"Mr. KIM holding up a 'NO.1 KOREA' banner with both hands, showing patriotic pride and determination for national excellence. ",
|
| 86 |
+
"Mr. KIM jogging in a park wearing athletic gear, demonstrating healthy lifestyle and energetic leadership qualities.",
|
| 87 |
+
"Mr. KIM raising both arms in celebration with a triumphant expression, showing victory and hope for the future.",
|
| 88 |
+
"Mr. KIM warmly shaking hands with female citizens in a crowded street, showing genuine care and connection with women voters. ",
|
| 89 |
+
"Mr. KIM participating in a community event, surrounded by enthusiastic female supporters cheering and waving flags. ",
|
| 90 |
+
"Mr. KIM at a campaign rally, pointing toward the horizon with an inspiring gesture while female audience members applaud. ",
|
| 91 |
+
"Mr. KIM visiting a local market, engaging in friendly conversation with female vendors and shopkeepers. ",
|
| 92 |
+
"Mr. KIM at a town hall meeting, attentively listening to concerns raised by female constituents with a compassionate expression.",
|
| 93 |
+
"Mr. KIM cutting a ribbon at a new facility opening, smiling broadly while female community leaders stand beside him. ",
|
| 94 |
+
"Mr. KIM walking through a university campus, discussing education policies with female students and professors. ",
|
| 95 |
]
|
| 96 |
|
| 97 |
# UI๋ฅผ ๋ถ์ ๊ณ์ด ๊ทธ๋ผ๋์์ด์
์ผ๋ก ๋์์ธ
|
|
|
|
| 197 |
with gr.Group(elem_classes="model-description"):
|
| 198 |
gr.HTML("""
|
| 199 |
<p>
|
| 200 |
+
๋ณธ ๋ชจ๋ธ์ ์ฐ๊ตฌ ๋ชฉ์ ์ผ๋ก ํน์ ์ธ์ ์ผ๊ตด๊ณผ ์ธ๋ชจ๋ฅผ ํ์ตํ LoRA ๋ชจ๋ธ์
๋๋ค.<br>
|
| 201 |
+
๋ชฉ์ ์ธ์ ์ฉ๋๋ก ๋ฌด๋จ ์ฌ์ฉ ์๋๋ก ์ ์ํด ์ฃผ์ธ์.<br>
|
| 202 |
+
(์์ prompt ์ฌ์ฉ ์ ๋ฐ๋์ 'kim'์ ํฌํจํ์ฌ์ผ ์ต์ ์ ๊ฒฐ๊ณผ๋ฅผ ์ป์ ์ ์์ต๋๋ค.)
|
| 203 |
</p>
|
| 204 |
""")
|
| 205 |
|