ngocng19 commited on
Commit
e8550d4
·
verified ·
1 Parent(s): e03bf8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -66,17 +66,17 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
66
 
67
  return df, file_path
68
  # RIGHT: Visualization
 
69
  gr.Markdown("### 📅 Study Log")
70
  task_table = gr.DataFrame(
71
  headers=["Date", "Category", "Task", "Subtask"],
72
- value=pd.DataFrame(columns=["Date", "Category", "Task", "Subtask"]),
73
  interactive=True
74
  )
75
-
76
  with gr.Accordion("View Knowledge Vault", open=False):
77
  gr.Markdown("Your reflections will be archived here for 'Deep Thinking' sessions.")
78
- vault_display = gr.Textbox(label="History Log", interactive=False)
79
-
80
 
81
  # Events
82
  category.change(update_subtasks, inputs=category, outputs=task_select)
 
66
 
67
  return df, file_path
68
  # RIGHT: Visualization
69
+ with gr.Column(scale=1):
70
  gr.Markdown("### 📅 Study Log")
71
  task_table = gr.DataFrame(
72
  headers=["Date", "Category", "Task", "Subtask"],
73
+ datatype=["str", "str", "str", "str"],
74
  interactive=True
75
  )
76
+
77
  with gr.Accordion("View Knowledge Vault", open=False):
78
  gr.Markdown("Your reflections will be archived here for 'Deep Thinking' sessions.")
79
+ vault_display = gr.Textbox(label="History Log", interactive=False, lines=10)
 
80
 
81
  # Events
82
  category.change(update_subtasks, inputs=category, outputs=task_select)