skroed commited on
Commit
be41572
1 Parent(s): 2f6a8bd

fix: just return dict

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -38,4 +38,4 @@ class EndpointHandler:
38
  # postprocess the prediction
39
  prediction = audio.tolist()
40
 
41
- return [{"generated_audio": prediction}]
 
38
  # postprocess the prediction
39
  prediction = audio.tolist()
40
 
41
+ return {"generated_audio": prediction}