Hugorowan commited on
Commit
5bb9b4d
1 Parent(s): 4f7474e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -6,8 +6,11 @@ import os
6
  from IPython.display import Audio
7
 
8
  # Import the model
 
 
9
  model = jukebox.make_vqvae(MODELS.5B_LYRICS)
10
 
 
11
  # Generate music
12
  def generate_music(temperature=1.0, top_k=10, beam_width=5):
13
  z = torch.randn(1, 1024)
 
6
  from IPython.display import Audio
7
 
8
  # Import the model
9
+ from jukebox.models import MODELS
10
+
11
  model = jukebox.make_vqvae(MODELS.5B_LYRICS)
12
 
13
+
14
  # Generate music
15
  def generate_music(temperature=1.0, top_k=10, beam_width=5):
16
  z = torch.randn(1, 1024)