Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -37,7 +37,7 @@ class EndpointHandler():
|
|
| 37 |
"Content-Disposition": "attachment; filename=output.wav",
|
| 38 |
"Content-Type": "audio/wav"
|
| 39 |
},
|
| 40 |
-
"body":
|
| 41 |
"statusCode": 200,
|
| 42 |
"isBase64Encoded": True # if binary, encode
|
| 43 |
}
|
|
|
|
| 37 |
"Content-Disposition": "attachment; filename=output.wav",
|
| 38 |
"Content-Type": "audio/wav"
|
| 39 |
},
|
| 40 |
+
"body": audio_b64,
|
| 41 |
"statusCode": 200,
|
| 42 |
"isBase64Encoded": True # if binary, encode
|
| 43 |
}
|