-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minimal solara app with access to all three current mesa models
- Loading branch information
Showing
3 changed files
with
37 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import solara | ||
|
||
from simulatingrisk.hawkdove.app import page as hawkdove_page | ||
from simulatingrisk.risky_bet.app import page as riskybet_page | ||
from simulatingrisk.risky_food.app import page as riskyfood_page | ||
|
||
|
||
@solara.component | ||
def Home(): | ||
solara.Markdown("Home") | ||
|
||
|
||
@solara.component | ||
def hawkdove(): | ||
return hawkdove_page | ||
|
||
|
||
@solara.component | ||
def riskybet(): | ||
return riskybet_page | ||
|
||
|
||
@solara.component | ||
def riskyfood(): | ||
return riskyfood_page | ||
|
||
|
||
routes = [ | ||
solara.Route(path="/", component=Home, label="home"), | ||
solara.Route(path="hawkdove", component=hawkdove, label="Hawk/Dove"), | ||
solara.Route(path="riskybet", component=riskybet, label="Risky Bet"), | ||
solara.Route(path="riskyfood", component=riskybet, label="Risky Food"), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters