akhaliq HF Staff commited on
Commit
b7e5bf3
·
1 Parent(s): c58b55c

hide history

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -2773,8 +2773,12 @@ with gr.Blocks(
2773
  )
2774
  with gr.Tab("Preview"):
2775
  sandbox = gr.HTML(label="Live preview")
2776
- with gr.Tab("History"):
2777
- history_output = gr.Chatbot(show_label=False, height=400, type="messages")
 
 
 
 
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):