Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -160,6 +160,19 @@ with gr.Blocks(css_paths="app.css") as demo:
|
|
| 160 |
|
| 161 |
# Examples 버튼들 추가
|
| 162 |
antd.Divider("Try these examples")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 163 |
|
| 164 |
# 첫 번째 예제 버튼
|
| 165 |
example_btn1 = antd.Button(
|
|
@@ -176,7 +189,7 @@ with gr.Blocks(css_paths="app.css") as demo:
|
|
| 176 |
|
| 177 |
# 두 번째 예제 버튼
|
| 178 |
example_btn2 = antd.Button(
|
| 179 |
-
"카드
|
| 180 |
type="default",
|
| 181 |
block=True,
|
| 182 |
size="large"
|
|
@@ -187,6 +200,7 @@ with gr.Blocks(css_paths="app.css") as demo:
|
|
| 187 |
outputs=[input]
|
| 188 |
)
|
| 189 |
|
|
|
|
| 190 |
# Modal과 Drawer 컴포넌트들
|
| 191 |
with antd.Modal(open=False, title="set system Prompt", width="800px") as system_prompt_modal:
|
| 192 |
systemPromptInput = antd.InputTextarea(
|
|
|
|
| 160 |
|
| 161 |
# Examples 버튼들 추가
|
| 162 |
antd.Divider("Try these examples")
|
| 163 |
+
|
| 164 |
+
# 두 번째 예제 버튼
|
| 165 |
+
example_btn0 = antd.Button(
|
| 166 |
+
"MBTI 진단 서비스",
|
| 167 |
+
type="default",
|
| 168 |
+
block=True,
|
| 169 |
+
size="large"
|
| 170 |
+
)
|
| 171 |
+
example_btn0.click(
|
| 172 |
+
fn=lambda: "MBTI 진단을 위해 15개의 질문과 객관식 답변을 통해 MBTI 진단 결과 및 해당 성격에 대한 상세한 결과를 출력하라",
|
| 173 |
+
inputs=[],
|
| 174 |
+
outputs=[input]
|
| 175 |
+
)
|
| 176 |
|
| 177 |
# 첫 번째 예제 버튼
|
| 178 |
example_btn1 = antd.Button(
|
|
|
|
| 189 |
|
| 190 |
# 두 번째 예제 버튼
|
| 191 |
example_btn2 = antd.Button(
|
| 192 |
+
"[게임] 카드 기억력력",
|
| 193 |
type="default",
|
| 194 |
block=True,
|
| 195 |
size="large"
|
|
|
|
| 200 |
outputs=[input]
|
| 201 |
)
|
| 202 |
|
| 203 |
+
|
| 204 |
# Modal과 Drawer 컴포넌트들
|
| 205 |
with antd.Modal(open=False, title="set system Prompt", width="800px") as system_prompt_modal:
|
| 206 |
systemPromptInput = antd.InputTextarea(
|