Meet Patel commited on
Commit
b0f8bb1
·
1 Parent(s): efc786d

Refactor: Update Gradio interface tabs and links for consistency and clarity

Browse files
Files changed (1) hide show
  1. app.py +13 -13
app.py CHANGED
@@ -556,17 +556,17 @@ def create_gradio_interface():
556
  with gr.Row():
557
  with gr.Column():
558
  gr.Markdown("""
559
- # 📚 TutorX Educational AI Platform
560
  *An adaptive, multi-modal, and collaborative AI tutoring platform built with MCP.*
561
  """)
562
 
563
  # Add some spacing
564
  gr.Markdown("---")
565
 
566
- # Main Tabs with scrollable container
567
  with gr.Tabs() as tabs:
568
  # Tab 1: Core Features
569
- with gr.Tab("1️⃣ Core Features", elem_id="core_features_tab"):
570
  with gr.Row():
571
  with gr.Column():
572
  gr.Markdown("## 🔍 Concept Graph Visualization")
@@ -673,7 +673,7 @@ def create_gradio_interface():
673
  )
674
 
675
  # Tab 2: Advanced Features
676
- with gr.Tab("2️⃣ Advanced Features", elem_id="advanced_features_tab"):
677
  gr.Markdown("## Lesson Generation")
678
 
679
  with gr.Row():
@@ -711,7 +711,7 @@ def create_gradio_interface():
711
  )
712
 
713
  # Tab 3: Interactive Tools
714
- with gr.Tab("3️⃣ Interactive Tools", elem_id="interactive_tools_tab"):
715
  gr.Markdown("## Text Interaction")
716
 
717
  with gr.Row():
@@ -746,7 +746,7 @@ def create_gradio_interface():
746
  )
747
 
748
  # Tab 4: Data Analytics
749
- with gr.Tab("4️⃣ Data Analytics", elem_id="data_analytics_tab"):
750
  gr.Markdown("## Plagiarism Detection")
751
 
752
  with gr.Row():
@@ -786,15 +786,15 @@ def create_gradio_interface():
786
  with gr.Column():
787
  gr.Markdown("### Quick Links")
788
  gr.Markdown("""
789
- - [Documentation](#)
790
- - [GitHub Repository](#)
791
- - [Report an Issue](#)
792
  """)
793
 
794
- # Add some spacing at the bottom
795
- gr.Markdown("\n\n")
796
- gr.Markdown("---")
797
- gr.Markdown("© 2025 TutorX - All rights reserved")
798
 
799
  return demo
800
 
 
556
  with gr.Row():
557
  with gr.Column():
558
  gr.Markdown("""
559
+ # TutorX Educational AI Platform
560
  *An adaptive, multi-modal, and collaborative AI tutoring platform built with MCP.*
561
  """)
562
 
563
  # Add some spacing
564
  gr.Markdown("---")
565
 
566
+ # Main Tabs with scrollable container
567
  with gr.Tabs() as tabs:
568
  # Tab 1: Core Features
569
+ with gr.Tab("1 Core Features", elem_id="core_features_tab"):
570
  with gr.Row():
571
  with gr.Column():
572
  gr.Markdown("## 🔍 Concept Graph Visualization")
 
673
  )
674
 
675
  # Tab 2: Advanced Features
676
+ with gr.Tab("2 Advanced Features", elem_id="advanced_features_tab"):
677
  gr.Markdown("## Lesson Generation")
678
 
679
  with gr.Row():
 
711
  )
712
 
713
  # Tab 3: Interactive Tools
714
+ with gr.Tab("3 Interactive Tools", elem_id="interactive_tools_tab"):
715
  gr.Markdown("## Text Interaction")
716
 
717
  with gr.Row():
 
746
  )
747
 
748
  # Tab 4: Data Analytics
749
+ with gr.Tab("4 Data Analytics", elem_id="data_analytics_tab"):
750
  gr.Markdown("## Plagiarism Detection")
751
 
752
  with gr.Row():
 
786
  with gr.Column():
787
  gr.Markdown("### Quick Links")
788
  gr.Markdown("""
789
+ - [Documentation](https://github.com/Meetpatel006/TutorX/blob/main/README.md)
790
+ - [GitHub Repository](https://github.com/Meetpatel006/TutorX)
791
+ - [Report an Issue](https://github.com/Meetpatel006/TutorX/issues)
792
  """)
793
 
794
+ # Add some spacing at the bottom
795
+ gr.Markdown("\n\n")
796
+ gr.Markdown("---")
797
+ gr.Markdown("© 2025 TutorX - All rights reserved")
798
 
799
  return demo
800