don't log base64 progress images

This commit is contained in:
damian0815 2022-11-02 09:08:11 +01:00 committed by blessedcoolant
parent 5e87062cf8
commit 9fc09aa4bd
3 changed files with 9 additions and 524 deletions

File diff suppressed because one or more lines are too long

View File

@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>InvokeAI - A Stable Diffusion Toolkit</title> <title>InvokeAI - A Stable Diffusion Toolkit</title>
<link rel="shortcut icon" type="icon" href="./assets/favicon.0d253ced.ico" /> <link rel="shortcut icon" type="icon" href="./assets/favicon.0d253ced.ico" />
<script type="module" crossorigin src="./assets/index.cc049b93.js"></script> <script type="module" crossorigin src="./assets/index.b0a4a822.js"></script>
<link rel="stylesheet" href="./assets/index.52c8231e.css"> <link rel="stylesheet" href="./assets/index.52c8231e.css">
</head> </head>

View File

@ -146,12 +146,14 @@ const makeSocketIOListeners = (
...data, ...data,
}) })
); );
if (!data.isBase64) {
dispatch( dispatch(
addLogEntry({ addLogEntry({
timestamp: dateFormat(new Date(), 'isoDateTime'), timestamp: dateFormat(new Date(), 'isoDateTime'),
message: `Intermediate image generated: ${data.url}`, message: `Intermediate image generated: ${data.url}`,
}) })
); );
}
} catch (e) { } catch (e) {
console.error(e); console.error(e);
} }