-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.py
44 lines (28 loc) · 1.23 KB
/
app.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import streamlit as st
# Experiment simulation configuration
from models.interest_inequality.default_experiment import simulation_interest_inequality
# User interfaces
from models.interest_inequality.interface import load_interest_interface
# FRONTEND / INTERFACE
# Introduction
st.title("Currency Concepts (WIP)")
st.markdown("##### A protoype simulation environment for demonstrating key principles relevant to post-capitalist monetary design.")
st.markdown("_Developed by:_ Ross Eyre, [Arkology Studio](https://arkology.co.za)")
st.markdown("_Simulation library:_ [radCAD](https://github.com/CADLabs/radCAD) (inspired by cadCAD)")
# MODEL SELECTION
st.markdown("")
st.markdown("")
st.markdown("#### STEP 1:")
st.markdown("###### Choose a model below to get started")
st.markdown("⬇")
st.markdown("")
st.markdown("")
model = st.selectbox("Model:", ('Choose a model', 'A. Interest & Inequality', 'B. Mutual Credit'), 0)
st.text("----------------------------------------------------------------------------------")
if model == 'A. Interest & Inequality':
simulation = simulation_interest_inequality
load_interest_interface(simulation)
elif model == 'B. Mutual Credit':
st.caption("Coming soon ..")
else:
st.caption("")