jerald commited on
Commit
7026107
·
1 Parent(s): 4825d78

musicautobot path

Browse files
Files changed (3) hide show
  1. app.py +6 -0
  2. musicautobot +1 -0
  3. requirements.txt +0 -1
app.py CHANGED
@@ -1,3 +1,9 @@
 
 
 
 
 
 
1
  from musicautobot.numpy_encode import *
2
  from musicautobot.utils.file_processing import process_all, process_file
3
  from musicautobot.config import *
 
1
+ import sys
2
+ import os
3
+ musicautobot_path = "/musicautobot"
4
+ sys.path.insert(0, os.path.abspath(musicautobot_path))
5
+
6
+
7
  from musicautobot.numpy_encode import *
8
  from musicautobot.utils.file_processing import process_all, process_file
9
  from musicautobot.config import *
musicautobot ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit 15bc523548f8ae737a594ee92564538d02e0dc94
requirements.txt CHANGED
@@ -2,6 +2,5 @@ gradio
2
  midi2audio
3
  music21
4
  git+https://github.com/fastai/fastai1.git@master
5
- git+https://github.com/bearpelican/musicautobot.git@master
6
  pebble
7
  spacy
 
2
  midi2audio
3
  music21
4
  git+https://github.com/fastai/fastai1.git@master
 
5
  pebble
6
  spacy