Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -51,10 +51,10 @@ def get_pat_token():
|
|
51 |
})
|
52 |
|
53 |
rdata = json.loads(r.text)
|
54 |
-
print(rdata)
|
55 |
#assert rdata['status'] == 1, "probably incorrect e-mail"
|
56 |
#pat = rdata['data']['pat']
|
57 |
-
print(rdata['data'])
|
58 |
return "done"
|
59 |
|
60 |
def get_music(prompt, track_duration, gen_intensity, gen_mode):
|
|
|
51 |
})
|
52 |
|
53 |
rdata = json.loads(r.text)
|
54 |
+
#print(rdata)
|
55 |
#assert rdata['status'] == 1, "probably incorrect e-mail"
|
56 |
#pat = rdata['data']['pat']
|
57 |
+
print(rdata['data']['pat'])
|
58 |
return "done"
|
59 |
|
60 |
def get_music(prompt, track_duration, gen_intensity, gen_mode):
|