Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -338,17 +338,18 @@ def create_dashboard():
|
|
| 338 |
label="TVOG Comparison Results"
|
| 339 |
)
|
| 340 |
|
| 341 |
-
with gr.
|
| 342 |
-
|
| 343 |
-
|
| 344 |
-
|
| 345 |
-
|
| 346 |
-
|
| 347 |
-
|
| 348 |
-
|
| 349 |
-
|
| 350 |
-
|
| 351 |
-
|
|
|
|
| 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(
|