eraz3r commited on
Commit
1ec82fc
Β·
verified Β·
1 Parent(s): e0e31a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -597,7 +597,7 @@ label { color: #94a3b8 !important; font-size: 13px !important; font-weight: 500
597
  .msg-info { color: #60a5fa; font-size: 13px; }
598
  """
599
 
600
- with gr.Blocks(css=CSS, title="Second Brain", theme=gr.themes.Base()) as demo:
601
 
602
  # ── Session state ──────────────────────────────────────────────────────
603
  user_id_state = gr.State(None)
@@ -710,7 +710,6 @@ with gr.Blocks(css=CSS, title="Second Brain", theme=gr.themes.Base()) as demo:
710
  datatype=["number","str","str","str","str","str","str","str","str"],
711
  interactive=False,
712
  wrap=True,
713
- height=400
714
  )
715
 
716
  with gr.Row():
@@ -734,7 +733,6 @@ with gr.Blocks(css=CSS, title="Second Brain", theme=gr.themes.Base()) as demo:
734
  datatype=["number","str","str","str","str","str","str","str","str"],
735
  interactive=False,
736
  wrap=True,
737
- height=500
738
  )
739
 
740
  with gr.Row():
@@ -1228,4 +1226,4 @@ with gr.Blocks(css=CSS, title="Second Brain", theme=gr.themes.Base()) as demo:
1228
 
1229
 
1230
  if __name__ == "__main__":
1231
- demo.launch()
 
597
  .msg-info { color: #60a5fa; font-size: 13px; }
598
  """
599
 
600
+ with gr.Blocks(title="Second Brain") as demo:
601
 
602
  # ── Session state ──────────────────────────────────────────────────────
603
  user_id_state = gr.State(None)
 
710
  datatype=["number","str","str","str","str","str","str","str","str"],
711
  interactive=False,
712
  wrap=True,
 
713
  )
714
 
715
  with gr.Row():
 
733
  datatype=["number","str","str","str","str","str","str","str","str"],
734
  interactive=False,
735
  wrap=True,
 
736
  )
737
 
738
  with gr.Row():
 
1226
 
1227
 
1228
  if __name__ == "__main__":
1229
+ demo.launch(css=CSS, theme=gr.themes.Base())