Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -952,6 +952,11 @@ def deploy_to_vercel(code: str):
|
|
952 |
# # ... (이전 코드) ...
|
953 |
|
954 |
|
|
|
|
|
|
|
|
|
|
|
955 |
# ------------------------
|
956 |
# 8) Gradio / Modelscope UI 빌드
|
957 |
# ------------------------
|
@@ -983,7 +988,8 @@ with gr.Blocks(css="app.css", theme=theme) as demo: # css 파일명 직접 전
|
|
983 |
with antd.ConfigProvider(): # Ant Design 컴포넌트 사용 시
|
984 |
|
985 |
with antd.Drawer(open=False, title="💻 생성된 코드 보기", placement="left", width="50%") as code_drawer:
|
986 |
-
|
|
|
987 |
|
988 |
with antd.Drawer(open=False, title="📜 대화 히스토리", placement="left", width="60%") as history_drawer:
|
989 |
history_output = legacy.Chatbot(
|
@@ -994,6 +1000,7 @@ with gr.Blocks(css="app.css", theme=theme) as demo: # css 파일명 직접 전
|
|
994 |
show_copy_button=True
|
995 |
)
|
996 |
|
|
|
997 |
with antd.Drawer(
|
998 |
open=False,
|
999 |
title="🎲 게임 템플릿 선택",
|
|
|
952 |
# # ... (이전 코드) ...
|
953 |
|
954 |
|
955 |
+
# ------------------------
|
956 |
+
# 8) Gradio / Modelscope UI 빌드
|
957 |
+
# ------------------------
|
958 |
+
# ... (이전 코드 생략) ...
|
959 |
+
|
960 |
# ------------------------
|
961 |
# 8) Gradio / Modelscope UI 빌드
|
962 |
# ------------------------
|
|
|
988 |
with antd.ConfigProvider(): # Ant Design 컴포넌트 사용 시
|
989 |
|
990 |
with antd.Drawer(open=False, title="💻 생성된 코드 보기", placement="left", width="50%") as code_drawer:
|
991 |
+
# 아래 라인 수정: संतति_rendering 인자 제거
|
992 |
+
code_output = legacy.Markdown(elem_classes="code-markdown-output")
|
993 |
|
994 |
with antd.Drawer(open=False, title="📜 대화 히스토리", placement="left", width="60%") as history_drawer:
|
995 |
history_output = legacy.Chatbot(
|
|
|
1000 |
show_copy_button=True
|
1001 |
)
|
1002 |
|
1003 |
+
|
1004 |
with antd.Drawer(
|
1005 |
open=False,
|
1006 |
title="🎲 게임 템플릿 선택",
|