Update main_app.py
Browse files- main_app.py +3 -3
main_app.py
CHANGED
|
@@ -37,19 +37,19 @@ def get_markdown_content(file_path):
|
|
| 37 |
|
| 38 |
|
| 39 |
@app.cell
|
| 40 |
-
def _(mo):
|
| 41 |
intro_text = get_markdown_content('intro_markdown/intro.md')
|
| 42 |
intro_marimo = get_markdown_content('intro_markdown/intro_marimo.md')
|
| 43 |
intro_notebook = get_markdown_content('intro_markdown/intro_notebook.md')
|
| 44 |
intro_comparison = get_markdown_content('intro_markdown/intro_comparison.md')
|
| 45 |
-
|
| 46 |
intro = mo.carousel([
|
| 47 |
mo.md(f"{intro_text}"),
|
| 48 |
mo.md(f"{intro_marimo}"),
|
| 49 |
mo.md(f"{intro_notebook}"),
|
| 50 |
mo.md(f"{intro_comparison}"),
|
| 51 |
])
|
| 52 |
-
|
| 53 |
introductory_accordion = mo.accordion({"## Notebook Introduction":intro})
|
| 54 |
return introductory_accordion
|
| 55 |
|
|
|
|
| 37 |
|
| 38 |
|
| 39 |
@app.cell
|
| 40 |
+
def _(mo, get_markdown_content):
|
| 41 |
intro_text = get_markdown_content('intro_markdown/intro.md')
|
| 42 |
intro_marimo = get_markdown_content('intro_markdown/intro_marimo.md')
|
| 43 |
intro_notebook = get_markdown_content('intro_markdown/intro_notebook.md')
|
| 44 |
intro_comparison = get_markdown_content('intro_markdown/intro_comparison.md')
|
| 45 |
+
|
| 46 |
intro = mo.carousel([
|
| 47 |
mo.md(f"{intro_text}"),
|
| 48 |
mo.md(f"{intro_marimo}"),
|
| 49 |
mo.md(f"{intro_notebook}"),
|
| 50 |
mo.md(f"{intro_comparison}"),
|
| 51 |
])
|
| 52 |
+
|
| 53 |
introductory_accordion = mo.accordion({"## Notebook Introduction":intro})
|
| 54 |
return introductory_accordion
|
| 55 |
|