mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-25 17:55:09 +01:00
Merge branch 'main' into beta
This commit is contained in:
commit
a0a58bcfa8
@ -79,6 +79,8 @@ if "%ERRORLEVEL%" EQU "0" (
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set PATH=C:\Windows\System32;%PATH%
|
||||||
|
|
||||||
@rem install/upgrade sdkit
|
@rem install/upgrade sdkit
|
||||||
call python ..\scripts\check_modules.py sdkit sdkit.models ldm transformers numpy antlr4 gfpgan realesrgan
|
call python ..\scripts\check_modules.py sdkit sdkit.models ldm transformers numpy antlr4 gfpgan realesrgan
|
||||||
if "%ERRORLEVEL%" EQU "0" (
|
if "%ERRORLEVEL%" EQU "0" (
|
||||||
|
0
scripts/on_sd_start.sh
Executable file → Normal file
0
scripts/on_sd_start.sh
Executable file → Normal file
@ -835,11 +835,10 @@
|
|||||||
* @memberof Task
|
* @memberof Task
|
||||||
*/
|
*/
|
||||||
async post(timeout=-1) {
|
async post(timeout=-1) {
|
||||||
if (typeof performance == "object" && performance.mark && performance.measure) {
|
|
||||||
performance.mark('make-render-request')
|
performance.mark('make-render-request')
|
||||||
if (performance.getEntriesByName('click-makeImage', 'mark').length > 0) {
|
if (performance.getEntriesByName('click-makeImage', 'mark').length > 0) {
|
||||||
console.log('delay between clicking and making the server request:', performance.measure('diff', 'click-makeImage', 'make-render-request').duration + ' ms')
|
performance.measure('diff', 'click-makeImage', 'make-render-request')
|
||||||
}
|
console.log('delay between clicking and making the server request:', performance.getEntriesByName('diff', 'measure')[0].duration + ' ms')
|
||||||
}
|
}
|
||||||
|
|
||||||
let jsonResponse = await super.post('/render', timeout)
|
let jsonResponse = await super.post('/render', timeout)
|
||||||
|
Loading…
Reference in New Issue
Block a user