alidenewade commited on
Commit
f30bacc
·
verified ·
1 Parent(s): 03cdfd2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -11
app.py CHANGED
@@ -338,17 +338,18 @@ def create_dashboard():
338
  label="TVOG Comparison Results"
339
  )
340
 
341
- with gr.Row():
342
- tvog_plot = gr.Plot(label="TVOG Comparison Analysis")
343
-
344
- with gr.Row():
345
- paths_plot = gr.Plot(label="Sample Simulation Paths")
346
-
347
- with gr.Row():
348
- dist_plot = gr.Plot(label="Distribution Analysis")
349
-
350
- with gr.Row():
351
- conv_plot = gr.Plot(label="Monte Carlo Convergence")
 
352
 
353
  # Event handlers
354
  calculate_btn.click(
 
338
  label="TVOG Comparison Results"
339
  )
340
 
341
+ with gr.Tabs():
342
+ with gr.Tab("TVOG Comparison"):
343
+ tvog_plot = gr.Plot(label="Monte Carlo vs Black-Scholes Analysis")
344
+
345
+ with gr.Tab("Simulation Paths"):
346
+ paths_plot = gr.Plot(label="Sample Account Value Trajectories")
347
+
348
+ with gr.Tab("Distribution Analysis"):
349
+ dist_plot = gr.Plot(label="Final Values & Payout Distributions")
350
+
351
+ with gr.Tab("Convergence Analysis"):
352
+ conv_plot = gr.Plot(label="Monte Carlo Convergence to Analytical Solution")
353
 
354
  # Event handlers
355
  calculate_btn.click(