Skip to content

Commit

Permalink
temporary markov compatability fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hodger committed Sep 9, 2016
1 parent 2a413ee commit 16a37c1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions djmarkov.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,9 @@ def main():
.replace(":", ""))
print("Done.")
print("Building Markov Chain...")
markov_chain = Markov(parsed_songs)
markov_chain = Markov(" ".join(parsed_songs))
print("Done.")
#markov_chain.print_freq_table()
result = markov_chain.compute(150)
result = markov_chain.traverse(150)
print(result)

if __name__ == "__main__":
Expand Down

0 comments on commit 16a37c1

Please sign in to comment.