Spaces:
Sleeping
Sleeping
import streamlit as st | |
from piano_dataset.dashboards import parametric_task_review, piano_metrics_review | |
def main(): | |
st.write("# PIANONET") | |
options = ["PIANO Task Review", "PIANO Metrics Review"] | |
selected_option = st.selectbox( | |
label="Select dashboard", | |
options=options, | |
) | |
st.write("---") | |
if "Task" in selected_option: | |
parametric_task_review.main() | |
elif "Metrics" in selected_option: | |
piano_metrics_review.main() | |
if __name__ == "__main__": | |
main() | |