Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -53,9 +53,9 @@ def get_pat_token():
|
|
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(
|
58 |
-
return
|
59 |
|
60 |
def get_music(pat, prompt, track_duration, gen_intensity, gen_mode):
|
61 |
|
|
|
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)
|
58 |
+
return rdata
|
59 |
|
60 |
def get_music(pat, prompt, track_duration, gen_intensity, gen_mode):
|
61 |
|