skroed
commited on
Commit
·
559b8b3
1
Parent(s):
925d62f
fix: just return dict
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -39,4 +39,4 @@ class EndpointHandler:
|
|
| 39 |
# postprocess the prediction
|
| 40 |
prediction = outputs.cpu().numpy().tolist()
|
| 41 |
|
| 42 |
-
return
|
|
|
|
| 39 |
# postprocess the prediction
|
| 40 |
prediction = outputs.cpu().numpy().tolist()
|
| 41 |
|
| 42 |
+
return {"generated_audio": prediction}
|