Update app.py
Browse files
app.py
CHANGED
|
@@ -133,7 +133,7 @@ with gr.Blocks(theme=gr.themes.Base(primary_hue="purple", secondary_hue="orange"
|
|
| 133 |
plot_output = gr.Plot(label="Real-Time Visualization")
|
| 134 |
with gr.TabItem("📜 The Theory"):
|
| 135 |
# Load the explanation from an external markdown file
|
| 136 |
-
with open("
|
| 137 |
gr.Markdown(f.read())
|
| 138 |
|
| 139 |
start_btn.click(fn=infinite_simulation_engine, inputs=[camera_angle_slider], outputs=[plot_output])
|
|
|
|
| 133 |
plot_output = gr.Plot(label="Real-Time Visualization")
|
| 134 |
with gr.TabItem("📜 The Theory"):
|
| 135 |
# Load the explanation from an external markdown file
|
| 136 |
+
with open("explanation.md", "r", encoding="utf-8") as f:
|
| 137 |
gr.Markdown(f.read())
|
| 138 |
|
| 139 |
start_btn.click(fn=infinite_simulation_engine, inputs=[camera_angle_slider], outputs=[plot_output])
|