Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -1260,7 +1260,7 @@ with gr.Blocks(css="app.css", theme=theme) as demo: # Use css parameter directly
|
|
1260 |
</div>
|
1261 |
""", elem_classes="preview-header-html")
|
1262 |
# Tabs for different preview states
|
1263 |
-
with antd.Tabs(active_key="empty", render_tab_bar="() => null"
|
1264 |
with antd.Tabs.Item(key="empty"):
|
1265 |
antd.Empty(description="게임을 만들려면 설명을 입력하거나 템플릿을 선택하세요.", elem_classes="right_content")
|
1266 |
with antd.Tabs.Item(key="loading"):
|
@@ -1269,6 +1269,8 @@ with gr.Blocks(css="app.css", theme=theme) as demo: # Use css parameter directly
|
|
1269 |
# Use gr.HTML for the sandbox iframe
|
1270 |
sandbox = gr.HTML(elem_classes="html_content")
|
1271 |
|
|
|
|
|
1272 |
# Right Column: Controls and Input
|
1273 |
with antd.Col(xs=24, sm=24, md=10, lg=9, xl=8, elem_classes="control-column"): # Responsive spans
|
1274 |
with antd.Flex(vertical=True, gap="middle", elem_classes="control-panel"): # Use Flex for vertical layout
|
|
|
1260 |
</div>
|
1261 |
""", elem_classes="preview-header-html")
|
1262 |
# Tabs for different preview states
|
1263 |
+
with antd.Tabs(active_key="empty", render_tab_bar="() => null") as state_tab:
|
1264 |
with antd.Tabs.Item(key="empty"):
|
1265 |
antd.Empty(description="게임을 만들려면 설명을 입력하거나 템플릿을 선택하세요.", elem_classes="right_content")
|
1266 |
with antd.Tabs.Item(key="loading"):
|
|
|
1269 |
# Use gr.HTML for the sandbox iframe
|
1270 |
sandbox = gr.HTML(elem_classes="html_content")
|
1271 |
|
1272 |
+
|
1273 |
+
|
1274 |
# Right Column: Controls and Input
|
1275 |
with antd.Col(xs=24, sm=24, md=10, lg=9, xl=8, elem_classes="control-column"): # Responsive spans
|
1276 |
with antd.Flex(vertical=True, gap="middle", elem_classes="control-panel"): # Use Flex for vertical layout
|