feat: hide "Chat" tab
Browse files
app.py
CHANGED
|
@@ -66,9 +66,9 @@ with gr.Blocks(title="Unpredictable Lord") as demo:
|
|
| 66 |
chat_session_id = gr.State(value=None)
|
| 67 |
chat_system_instructions = gr.State(value="")
|
| 68 |
|
| 69 |
-
with gr.Tabs():
|
| 70 |
-
# Chat Tab
|
| 71 |
-
with gr.TabItem("Chat"):
|
| 72 |
with gr.Row():
|
| 73 |
# Left column: Chat interface
|
| 74 |
with gr.Column(scale=3):
|
|
@@ -387,7 +387,7 @@ _{personality_desc}_"""
|
|
| 387 |
)
|
| 388 |
|
| 389 |
# MCP Server Tab
|
| 390 |
-
with gr.TabItem("MCP Server"):
|
| 391 |
gr.Markdown(MCP_GUIDE_CONTENT)
|
| 392 |
|
| 393 |
gr.Markdown("### Test: Initialize Game")
|
|
|
|
| 66 |
chat_session_id = gr.State(value=None)
|
| 67 |
chat_system_instructions = gr.State(value="")
|
| 68 |
|
| 69 |
+
with gr.Tabs(selected="mcp_server"):
|
| 70 |
+
# Chat Tab (hidden - not ready for release)
|
| 71 |
+
with gr.TabItem("Chat", visible=False):
|
| 72 |
with gr.Row():
|
| 73 |
# Left column: Chat interface
|
| 74 |
with gr.Column(scale=3):
|
|
|
|
| 387 |
)
|
| 388 |
|
| 389 |
# MCP Server Tab
|
| 390 |
+
with gr.TabItem("MCP Server", id="mcp_server"):
|
| 391 |
gr.Markdown(MCP_GUIDE_CONTENT)
|
| 392 |
|
| 393 |
gr.Markdown("### Test: Initialize Game")
|