Spaces:
Running
Running
hide history
Browse files
app.py
CHANGED
|
@@ -2773,8 +2773,12 @@ with gr.Blocks(
|
|
| 2773 |
)
|
| 2774 |
with gr.Tab("Preview"):
|
| 2775 |
sandbox = gr.HTML(label="Live preview")
|
| 2776 |
-
|
| 2777 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2778 |
|
| 2779 |
# Load project function
|
| 2780 |
def handle_load_project(url):
|
|
|
|
| 2773 |
)
|
| 2774 |
with gr.Tab("Preview"):
|
| 2775 |
sandbox = gr.HTML(label="Live preview")
|
| 2776 |
+
# History tab hidden per user request
|
| 2777 |
+
# with gr.Tab("History"):
|
| 2778 |
+
# history_output = gr.Chatbot(show_label=False, height=400, type="messages")
|
| 2779 |
+
|
| 2780 |
+
# Keep history_output as hidden component to maintain functionality
|
| 2781 |
+
history_output = gr.Chatbot(show_label=False, height=400, type="messages", visible=False)
|
| 2782 |
|
| 2783 |
# Load project function
|
| 2784 |
def handle_load_project(url):
|