Simon Stolarczyk commited on
Commit
84a8d96
1 Parent(s): e49932c

Avoid spacy req

Browse files
Files changed (2) hide show
  1. .ipynb_checkpoints/app-checkpoint.py +3 -3
  2. app.py +3 -3
.ipynb_checkpoints/app-checkpoint.py CHANGED
@@ -5,11 +5,11 @@ from music21.midi.translate import midiFileToStream
5
  from pathlib import Path
6
  from midi2audio import FluidSynth
7
 
8
- from musicautobot.numpy_encode import *
9
  from musicautobot.config import *
10
  from musicautobot.music_transformer import *
11
  from musicautobot.utils.midifile import *
12
- from musicautobot.utils.file_processing import process_all
13
 
14
  import pickle
15
 
@@ -19,7 +19,7 @@ import os
19
  print(os.getcwd())
20
 
21
  # Load the stored data. This is needed to generate the vocab.
22
- data_dir = Path('data/')
23
  data = load_data(data_dir, 'data.pkl')
24
 
25
  # Default config options
 
5
  from pathlib import Path
6
  from midi2audio import FluidSynth
7
 
8
+ # from musicautobot.numpy_encode import *
9
  from musicautobot.config import *
10
  from musicautobot.music_transformer import *
11
  from musicautobot.utils.midifile import *
12
+ # from musicautobot.utils.file_processing import process_all
13
 
14
  import pickle
15
 
 
19
  print(os.getcwd())
20
 
21
  # Load the stored data. This is needed to generate the vocab.
22
+ data_dir = Path('.')
23
  data = load_data(data_dir, 'data.pkl')
24
 
25
  # Default config options
app.py CHANGED
@@ -5,11 +5,11 @@ from music21.midi.translate import midiFileToStream
5
  from pathlib import Path
6
  from midi2audio import FluidSynth
7
 
8
- from musicautobot.numpy_encode import *
9
  from musicautobot.config import *
10
  from musicautobot.music_transformer import *
11
  from musicautobot.utils.midifile import *
12
- from musicautobot.utils.file_processing import process_all
13
 
14
  import pickle
15
 
@@ -19,7 +19,7 @@ import os
19
  print(os.getcwd())
20
 
21
  # Load the stored data. This is needed to generate the vocab.
22
- data_dir = Path('data/')
23
  data = load_data(data_dir, 'data.pkl')
24
 
25
  # Default config options
 
5
  from pathlib import Path
6
  from midi2audio import FluidSynth
7
 
8
+ # from musicautobot.numpy_encode import *
9
  from musicautobot.config import *
10
  from musicautobot.music_transformer import *
11
  from musicautobot.utils.midifile import *
12
+ # from musicautobot.utils.file_processing import process_all
13
 
14
  import pickle
15
 
 
19
  print(os.getcwd())
20
 
21
  # Load the stored data. This is needed to generate the vocab.
22
+ data_dir = Path('.')
23
  data = load_data(data_dir, 'data.pkl')
24
 
25
  # Default config options