fffiloni commited on
Commit
1019525
โ€ข
1 Parent(s): f78379c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -49,7 +49,8 @@ def get_track_by_tags(tags, pat, duration, gen_intensity, gen_mode, maxit=20):
49
  })
50
 
51
  rdata = json.loads(r.text)
52
- assert rdata['status'] == 1, rdata['error']['text']
 
53
  trackurl = rdata['data']['tasks'][0]['download_link']
54
 
55
  print('Generating track ', end='')
 
49
  })
50
 
51
  rdata = json.loads(r.text)
52
+ print(rdata)
53
+ #assert rdata['status'] == 1, rdata['error']['text']
54
  trackurl = rdata['data']['tasks'][0]['download_link']
55
 
56
  print('Generating track ', end='')