alex/overlay-mode: cleanup

This commit is contained in:
alex 2023-11-28 15:00:41 +00:00
parent 18314e7b3c
commit 73da74bb0c
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ export function useLiveImage(
appId: string appId: string
} }
) { ) {
const { appId, throttleTime = 30, debounceTime = 0 } = opts const { appId, throttleTime = 100, debounceTime = 0 } = opts
const editor = useEditor() const editor = useEditor()
const startedIteration = useRef<number>(0) const startedIteration = useRef<number>(0)
const finishedIteration = useRef<number>(0) const finishedIteration = useRef<number>(0)
@ -137,7 +137,7 @@ export function useLiveImage(
prompt, prompt,
image_url: imageDataUri, image_url: imageDataUri,
sync_mode: true, sync_mode: true,
strength: 0.5, strength: 0.65,
seed: Math.abs(random() * 10000), // TODO make this configurable in the UI seed: Math.abs(random() * 10000), // TODO make this configurable in the UI
enable_safety_checks: false, enable_safety_checks: false,
}) })