Always use compressor
This commit is contained in:
parent
6ca2ad6833
commit
b17ce408ff
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue