John6666 commited on
Commit
eb9cbd6
1 Parent(s): 32b07f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ from midi_synthesizer import MidiSynthesizer
18
 
19
  MAX_SEED = np.iinfo(np.int32).max
20
  in_space = os.getenv("SYSTEM") == "spaces"
21
-
22
 
23
  @torch.inference_mode()
24
  def generate(model: MIDIModel, prompt=None, max_len=512, temp=1.0, top_p=0.98, top_k=20,
 
18
 
19
  MAX_SEED = np.iinfo(np.int32).max
20
  in_space = os.getenv("SYSTEM") == "spaces"
21
+ np.random.seed()
22
 
23
  @torch.inference_mode()
24
  def generate(model: MIDIModel, prompt=None, max_len=512, temp=1.0, top_p=0.98, top_k=20,