save JPEG instead of PNG
This commit is contained in:
parent
cd4c00b12e
commit
7f27705f81
|
@ -139,7 +139,7 @@ def run_inference():
|
|||
mp3_bytes = mp3_bytes_from_wav_bytes(wav_bytes)
|
||||
|
||||
# Compute the output as base64 encoded strings
|
||||
image_bytes = image_bytes_from_image(image, mode="PNG")
|
||||
image_bytes = image_bytes_from_image(image, mode="JPEG")
|
||||
output = InferenceOutput(image=base64_encode(image_bytes), audio=base64_encode(mp3_bytes))
|
||||
|
||||
# Log the total time
|
||||
|
|
Loading…
Reference in New Issue