Always use compressor

This commit is contained in:
Hayk Martiros 2022-12-23 16:38:05 -08:00
parent 6ca2ad6833
commit b17ce408ff
1 changed files with 1 additions and 7 deletions

View File

@ -71,8 +71,6 @@ export default function Home() {
const [nowPlayingResult, setNowPlayingResult] =
useState<InferenceResult>(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}
/>
<PromptPanel