Ahsen Khaliq commited on
Commit
74efd62
1 Parent(s): ac5f472

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -16,7 +16,9 @@ with zipfile.ZipFile("REMI-tempo-checkpoint.zip","r") as zip_ref:
16
  with zipfile.ZipFile("REMI-tempo-chord-checkpoint.zip","r") as zip_ref:
17
  zip_ref.extractall(".")
18
 
19
-
 
 
20
 
21
 
22
  # declare model
 
16
  with zipfile.ZipFile("REMI-tempo-chord-checkpoint.zip","r") as zip_ref:
17
  zip_ref.extractall(".")
18
 
19
+ url = 'https://github.com/AK391/remi/blob/master/input.midi?raw=true'
20
+ r = requests.get(url, allow_redirects=True)
21
+ open("input.midi", 'wb').write(r.content)
22
 
23
 
24
  # declare model