Update app.py
Browse files
app.py
CHANGED
@@ -158,6 +158,7 @@ with gr.Blocks(css_paths="app.css") as demo:
|
|
158 |
|
159 |
# Examples 버튼 추가
|
160 |
antd.Divider("Try this example")
|
|
|
161 |
example_btn = antd.Button(
|
162 |
"다이나믹 차트 대쉬보드",
|
163 |
type="default",
|
@@ -171,6 +172,20 @@ with gr.Blocks(css_paths="app.css") as demo:
|
|
171 |
)
|
172 |
|
173 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
174 |
with antd.Modal(open=False, title="set system Prompt", width="800px") as system_prompt_modal:
|
175 |
systemPromptInput = antd.InputTextarea(
|
176 |
SystemPrompt, auto_size=True)
|
|
|
158 |
|
159 |
# Examples 버튼 추가
|
160 |
antd.Divider("Try this example")
|
161 |
+
|
162 |
example_btn = antd.Button(
|
163 |
"다이나믹 차트 대쉬보드",
|
164 |
type="default",
|
|
|
172 |
)
|
173 |
|
174 |
|
175 |
+
# 두 번째 예제 버튼
|
176 |
+
example_btn2 = antd.Button(
|
177 |
+
"카드 기억 게임",
|
178 |
+
type="default",
|
179 |
+
block=True,
|
180 |
+
size="large"
|
181 |
+
)
|
182 |
+
example_btn2.click(
|
183 |
+
fn=lambda: "Create a classic memory matching card game with flip animations. Include a scoring system, timer, and difficulty levels. Add satisfying match/mismatch animations and sound effects using Web Audio API.",
|
184 |
+
inputs=[],
|
185 |
+
outputs=[input]
|
186 |
+
)
|
187 |
+
|
188 |
+
|
189 |
with antd.Modal(open=False, title="set system Prompt", width="800px") as system_prompt_modal:
|
190 |
systemPromptInput = antd.InputTextarea(
|
191 |
SystemPrompt, auto_size=True)
|