Spaces:
Sleeping
Sleeping
Ashhar
commited on
Commit
·
b2e7566
1
Parent(s):
5d68a5f
log request response
Browse files
app.py
CHANGED
@@ -24,11 +24,13 @@ def pprint(log: str):
|
|
24 |
|
25 |
|
26 |
def predict(audio):
|
|
|
27 |
client = Client("https://abidlabs-music-separation.hf.space/")
|
28 |
result = client.predict(
|
29 |
audio,
|
30 |
api_name="/predict"
|
31 |
)
|
|
|
32 |
return result
|
33 |
|
34 |
|
|
|
24 |
|
25 |
|
26 |
def predict(audio):
|
27 |
+
pprint("Starting the job")
|
28 |
client = Client("https://abidlabs-music-separation.hf.space/")
|
29 |
result = client.predict(
|
30 |
audio,
|
31 |
api_name="/predict"
|
32 |
)
|
33 |
+
pprint(f"{result=}")
|
34 |
return result
|
35 |
|
36 |
|