hide history
Browse files2772 unmodified lines277327742775277627772778277927802772 unmodified lines)with gr.Tab("Preview"):sandbox = gr.HTML(label="Live preview")with gr.Tab("History"):history_output = gr.Chatbot(show_label=False, height=400, type="messages")# Load project functiondef handle_load_project(url):2772 unmodified lines2773277427752776277727782779278027812782278327842772 unmodified lines)with gr.Tab("Preview"):sandbox = gr.HTML(label="Live preview")# History tab hidden per user request# with gr.Tab("History"):# history_output = gr.Chatbot(show_label=False, height=400, type="messages")# Keep history_output as hidden component to maintain functionalityhistory_output = gr.Chatbot(show_label=False, height=400, type="messages", visible=False)# Load project functiondef handle_load_project(url):
app.py+6-2