Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -75,10 +75,10 @@ def get_music(prompt, track_duration, gen_intensity, gen_mode):
|
|
75 |
rdata = json.loads(r.text)
|
76 |
print(rdata)
|
77 |
#assert rdata['status'] == 1, "probably incorrect e-mail"
|
78 |
-
track = rdata['data']['tasks']['download_link']
|
79 |
|
80 |
-
print(track)
|
81 |
-
return
|
82 |
|
83 |
def get_track_by_tags(tags, pat, duration, gen_intensity, gen_mode, maxit=20):
|
84 |
|
|
|
75 |
rdata = json.loads(r.text)
|
76 |
print(rdata)
|
77 |
#assert rdata['status'] == 1, "probably incorrect e-mail"
|
78 |
+
#track = rdata['data']['tasks']['download_link']
|
79 |
|
80 |
+
#print(track)
|
81 |
+
return "done"
|
82 |
|
83 |
def get_track_by_tags(tags, pat, duration, gen_intensity, gen_mode, maxit=20):
|
84 |
|