Spaces:
Sleeping
Sleeping
remove dead air
Browse files
app.py
CHANGED
@@ -25,6 +25,8 @@ def main():
|
|
25 |
|
26 |
record = dataset[record_idx]
|
27 |
piece = MidiPiece.from_huggingface(record)
|
|
|
|
|
28 |
st.json(piece.source)
|
29 |
|
30 |
piece_split = piano_task.prompt_target_split(piece.df)
|
|
|
25 |
|
26 |
record = dataset[record_idx]
|
27 |
piece = MidiPiece.from_huggingface(record)
|
28 |
+
piece.time_shift(-piece.df.start.min())
|
29 |
+
|
30 |
st.json(piece.source)
|
31 |
|
32 |
piece_split = piano_task.prompt_target_split(piece.df)
|