Skip to content

Commit

Permalink
fixing the import
Browse files Browse the repository at this point in the history
  • Loading branch information
korymath committed Dec 7, 2018
1 parent 0a8c9ed commit 7916fbb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions research/nips2018/src/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from __future__ import print_function

from absl import app
from absl import flags

import argparse

Expand Down Expand Up @@ -82,7 +81,7 @@ class TimeSignature:
playable_instruments = set(['click', 'bass', 'drums', 'chords', 'stop'])

# Read in the PerformanceRNN model.
BASE_MODELS_PATH = sys.argv[1]
BASE_MODELS_PATH = sys.argv[1]
MELODY_MODEL_PATH = BASE_MODELS_PATH + '/attention_rnn.mag'
DRUMS_MODEL_PATH = BASE_MODELS_PATH + '/drum_kit_rnn.mag'
melody_bundle = magenta.music.read_bundle_file(MELODY_MODEL_PATH)
Expand Down

0 comments on commit 7916fbb

Please sign in to comment.