Spaces:
Running
Running
add task selection
Browse files- app.py +17 -0
- requirements.txt +3 -0
app.py
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
from piano_dataset import PianoTasks
|
3 |
+
|
4 |
+
|
5 |
+
def main():
|
6 |
+
st.write("#Hello")
|
7 |
+
available_tasks = PianoTasks.list_tasks()
|
8 |
+
task_name = st.selectbox(
|
9 |
+
label="Select PIANO task",
|
10 |
+
options=available_tasks,
|
11 |
+
)
|
12 |
+
|
13 |
+
st.write(task_name)
|
14 |
+
|
15 |
+
|
16 |
+
if __name__ == "__main__":
|
17 |
+
main()
|
requirements.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
git+https://github.com/nospoko/piano-dataset.git
|
2 |
+
fortepyan
|
3 |
+
streamlit_pianoroll
|