From 3d8acaf761d5ffbe1c6a92faded3667b6e5b03bb Mon Sep 17 00:00:00 2001 From: Hayk Martiros Date: Sat, 26 Nov 2022 11:25:32 -0800 Subject: [PATCH] Use JPEG instead of PNG --- pages/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pages/index.tsx b/pages/index.tsx index c754188..7150c4c 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -356,8 +356,7 @@ export default function Home() { const newResult = { input: inferenceInput, - // TODO(hayk): Swap for JPG? - image: "data:image/png;base64," + data.image, + image: "data:image/jpeg;base64," + data.image, audio: "data:audio/mpeg;base64," + data.audio, counter: newCounter, };