hide history
Browse files2772 unmodified lines277327742775277627762777277727782779278027812782278327842772 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") # with gr.Tab("History"): # history_output = gr.Chatbot(show_label=False, height=400, type="messages") # Keep history_output as hidden component to maintain functionality history_output = gr.Chatbot(show_label=False, height=400, type="messages", visible=False)
# Load project function def handle_load_project(url):app.py+6-2