gladguy commited on
Commit
0d04746
·
1 Parent(s): 0133f1f

Fix: Use gr.Group instead of gr.Box (Box doesn't exist)

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -710,8 +710,8 @@ with gr.Blocks(title="AnatomyBot - MBBS Anatomy Tutor") as demo:
710
  current_topic = gr.State("")
711
  current_image_state = gr.State(None)
712
 
713
- # Welcome Screen (shown first) - Using Box instead of Column
714
- with gr.Box(visible=True) as welcome_screen:
715
  gr.Markdown(
716
  """
717
  # 🩺 Welcome to AnatomyBot
@@ -754,8 +754,8 @@ with gr.Blocks(title="AnatomyBot - MBBS Anatomy Tutor") as demo:
754
  with gr.Column(scale=1):
755
  pass # Empty column for centering
756
 
757
- # Main Application (hidden initially) - Using Box instead of Column
758
- with gr.Box(visible=False, elem_id="main_app_container") as main_app:
759
  gr.Markdown(
760
  """
761
  # 🩺 AnatomyBot - Your MBBS Anatomy Tutor
 
710
  current_topic = gr.State("")
711
  current_image_state = gr.State(None)
712
 
713
+ # Welcome Screen (shown first) - Using Group instead of Column
714
+ with gr.Group(visible=True) as welcome_screen:
715
  gr.Markdown(
716
  """
717
  # 🩺 Welcome to AnatomyBot
 
754
  with gr.Column(scale=1):
755
  pass # Empty column for centering
756
 
757
+ # Main Application (hidden initially) - Using Group instead of Column
758
+ with gr.Group(visible=False, elem_id="main_app_container") as main_app:
759
  gr.Markdown(
760
  """
761
  # 🩺 AnatomyBot - Your MBBS Anatomy Tutor