cbg342 commited on
Commit
062929a
1 Parent(s): b30d841

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -112,7 +112,7 @@ with main:
112
  song.addNote(0, 0, pitch, time, dur, 100)
113
  if not notationIndex:
114
  time += dur
115
- with open(os.path.join(st.session_state['path'], 'output.mid'), 'wb') as f:
116
  song.writeFile(f)
117
  if not st.session_state['downloadable']:
118
  st.session_state['downloadable'] = True
 
112
  song.addNote(0, 0, pitch, time, dur, 100)
113
  if not notationIndex:
114
  time += dur
115
+ with open(os.path.join(st.session_state['path'], 'out.mid'), 'wb') as f:
116
  song.writeFile(f)
117
  if not st.session_state['downloadable']:
118
  st.session_state['downloadable'] = True