mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 09:14:35 +02:00
minor fixes
This commit is contained in:
@@ -116,7 +116,6 @@ function requestProgress(id_task, progressEl, galleryEl, atEnd = null, onProgres
|
||||
};
|
||||
|
||||
const start = (id_task, id_live_preview) => {
|
||||
console.log('HERE start', id_task, id_live_preview, opts.live_preview_refresh_period)
|
||||
request('./internal/progress', { id_task, id_live_preview }, (res) => {
|
||||
lastState = res;
|
||||
const elapsedFromStart = (new Date() - dateStart) / 1000;
|
||||
|
||||
+2
-2
@@ -119,7 +119,7 @@ function create_submit_args(args) {
|
||||
function showSubmitButtons(tabname, show) {}
|
||||
|
||||
function submit(...args) {
|
||||
console.log('Submit txt2img:', args);
|
||||
console.log('Submit txt2img');
|
||||
rememberGallerySelection('txt2img_gallery');
|
||||
const id = randomId();
|
||||
requestProgress(id, null, gradioApp().getElementById('txt2img_gallery'));
|
||||
@@ -129,7 +129,7 @@ function submit(...args) {
|
||||
}
|
||||
|
||||
function submit_img2img(...args) {
|
||||
console.log('Submit img2img:', args);
|
||||
console.log('Submit img2img');
|
||||
rememberGallerySelection('img2img_gallery');
|
||||
const id = randomId();
|
||||
requestProgress(id, null, gradioApp().getElementById('img2img_gallery'));
|
||||
|
||||
@@ -121,7 +121,7 @@ def start_server(immediate=True, server=None):
|
||||
time.sleep(3)
|
||||
installer.log.debug(f'Memory {get_memory_stats()} Collected {collected}')
|
||||
module_spec = importlib.util.spec_from_file_location('webui', 'webui.py')
|
||||
installer.log.debug(f'Loading module: {module_spec}')
|
||||
# installer.log.debug(f'Loading module: {module_spec}')
|
||||
server = importlib.util.module_from_spec(module_spec)
|
||||
installer.log.debug(f'Starting module: {server}')
|
||||
module_spec.loader.exec_module(server)
|
||||
|
||||
+1
-1
Submodule wiki updated: 646540f192...e7658ac838
Reference in New Issue
Block a user