ZahirJS commited on
Commit
8fba4ee
·
verified ·
1 Parent(s): 31c7f3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -90,8 +90,7 @@ if __name__ == "__main__":
90
  "Concept Map Generator (Vertical Hierarchy)",
91
  "Creates a hierarchical concept map, ideal for breaking down complex topics."
92
  )
93
- concept_map_interface.render() # Render the interface within the tab
94
-
95
  with gr.TabItem("Synoptic Chart"):
96
  synoptic_chart_interface = create_interface(
97
  generate_synoptic_chart,
@@ -99,8 +98,7 @@ if __name__ == "__main__":
99
  "Synoptic Chart Generator (Horizontal Hierarchy)",
100
  "Generates a horizontal synoptic chart, perfect for outlining processes or structures."
101
  )
102
- synoptic_chart_interface.render() # Render the interface within the tab
103
-
104
  with gr.TabItem("Radial Diagram"):
105
  radial_diagram_interface = create_interface(
106
  generate_radial_diagram,
@@ -108,7 +106,7 @@ if __name__ == "__main__":
108
  "Radial Diagram Generator (Central Expansion)",
109
  "Creates a diagram expanding from a central idea, visualizing interconnected concepts."
110
  )
111
- radial_diagram_interface.render() # Render the interface within the tab
112
 
113
  demo.launch(
114
  mcp_server=True,
 
90
  "Concept Map Generator (Vertical Hierarchy)",
91
  "Creates a hierarchical concept map, ideal for breaking down complex topics."
92
  )
93
+ # Removed .render() here
 
94
  with gr.TabItem("Synoptic Chart"):
95
  synoptic_chart_interface = create_interface(
96
  generate_synoptic_chart,
 
98
  "Synoptic Chart Generator (Horizontal Hierarchy)",
99
  "Generates a horizontal synoptic chart, perfect for outlining processes or structures."
100
  )
101
+ # Removed .render() here
 
102
  with gr.TabItem("Radial Diagram"):
103
  radial_diagram_interface = create_interface(
104
  generate_radial_diagram,
 
106
  "Radial Diagram Generator (Central Expansion)",
107
  "Creates a diagram expanding from a central idea, visualizing interconnected concepts."
108
  )
109
+ # Removed .render() here
110
 
111
  demo.launch(
112
  mcp_server=True,