forked from extern/easydiffusion
wip
This commit is contained in:
parent
b8f47545ed
commit
6effd783c0
@ -229,8 +229,6 @@ export default function MakeButton() {
|
|||||||
// potentially update the seed
|
// potentially update the seed
|
||||||
await startStream(id, options);
|
await startStream(id, options);
|
||||||
}
|
}
|
||||||
console.log('USE EFFECT', hasQueue);
|
|
||||||
console.log('status', status);
|
|
||||||
|
|
||||||
if (status === FetchingStates.PROGRESSING || status === FetchingStates.FETCHING) {
|
if (status === FetchingStates.PROGRESSING || status === FetchingStates.FETCHING) {
|
||||||
return;
|
return;
|
||||||
@ -246,15 +244,6 @@ export default function MakeButton() {
|
|||||||
|
|
||||||
}, [hasQueue, status, id, options, startStream]);
|
}, [hasQueue, status, id, options, startStream]);
|
||||||
|
|
||||||
// useEffect(() => {
|
|
||||||
// // if the status is complete we can remove the image from the queue
|
|
||||||
// if (status === FetchingStates.COMPLETE) {
|
|
||||||
// // debugger;
|
|
||||||
// removeFirstInQueue();
|
|
||||||
// }
|
|
||||||
// }, [removeFirstInQueue, status]);
|
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<button
|
<button
|
||||||
className={MakeButtonStyle}
|
className={MakeButtonStyle}
|
||||||
|
Loading…
Reference in New Issue
Block a user