diff --git a/pages/index.tsx b/pages/index.tsx index db8d094..722a19d 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -71,8 +71,6 @@ export default function Home() { const [nowPlayingResult, setNowPlayingResult] = useState(null); - const [useCompressor, setUseCompressor] = useState(false); - // Set the initial seed from the URL if available const router = useRouter(); useEffect(() => { @@ -117,10 +115,6 @@ export default function Home() { if (router.query.seedImageId) { setSeedImageId(router.query.seedImageId as string); } - - if (router.query.useCompressor) { - setUseCompressor(router.query.useCompressor == "true"); - } }, [router.isReady, router.query]); // Set the app state based on the prompt inputs array @@ -352,7 +346,7 @@ export default function Home() { inferenceResults={inferenceResults} nowPlayingCallback={nowPlayingCallback} playerIsBehindCallback={playerIsBehindCallback} - useCompressor={useCompressor} + useCompressor={true} />