ANXLOG commited on
Commit
66e6d86
·
verified ·
1 Parent(s): 1d5510c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -1
app.py CHANGED
@@ -148,4 +148,18 @@ with gr.Blocks(theme=gr.themes.Monochrome()) as demo:
148
  btn_net = gr.Button("Build Topology")
149
  btn_net.click(visualize_prime_matroska, inputs=[shells_slider, feed_toggle], outputs=matroska_plot)
150
 
151
- demo.launch()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
148
  btn_net = gr.Button("Build Topology")
149
  btn_net.click(visualize_prime_matroska, inputs=[shells_slider, feed_toggle], outputs=matroska_plot)
150
 
151
+ # ... (rest of your code above stays the same)
152
+
153
+ with gr.Tab("Matroska Network (Radial)"):
154
+ gr.Markdown("The Destination Topology: Concentric Shells indexed by Prime Moduli.")
155
+ with gr.Row():
156
+ shells_slider = gr.Slider(1, 20, value=5, step=1, label="Domain Depth (Shells)")
157
+ feed_toggle = gr.Checkbox(value=True, label="Show Active Atoms (Feed)")
158
+
159
+ matroska_plot = gr.Plot(label="Radial Topology")
160
+ btn_net = gr.Button("Build Topology")
161
+ btn_net.click(visualize_prime_matroska, inputs=[shells_slider, feed_toggle], outputs=matroska_plot)
162
+
163
+ # --- UPDATE THIS LAUNCH COMMAND ---
164
+ # Disable SSR to fix the asyncio/file descriptor crash
165
+ demo.launch(ssr_mode=False)