gladguy commited on
Commit
fbd812c
·
1 Parent(s): 3dac49d

Remove css parameter to fix TypeError on HF Space

Browse files
Files changed (1) hide show
  1. app.py +1 -11
app.py CHANGED
@@ -702,17 +702,7 @@ def submit_viva_answer(answer, questions, current_q_idx, student_name=""):
702
 
703
 
704
  # Create Gradio interface
705
- with gr.Blocks(
706
- title="AnatomyBot - MBBS Anatomy Tutor",
707
- css="""
708
- #main_app_container {
709
- display: none !important;
710
- }
711
- #main_app_container.visible {
712
- display: flex !important;
713
- }
714
- """
715
- ) as demo:
716
  # State variables
717
  student_name_state = gr.State("")
718
  viva_questions_state = gr.State([])
 
702
 
703
 
704
  # Create Gradio interface
705
+ with gr.Blocks(title="AnatomyBot - MBBS Anatomy Tutor") as demo:
 
 
 
 
 
 
 
 
 
 
706
  # State variables
707
  student_name_state = gr.State("")
708
  viva_questions_state = gr.State([])