minor fixes

This commit is contained in:
Vladimir Mandic
2023-06-09 18:24:18 -04:00
parent 159d00d7e9
commit 971e51fe79
4 changed files with 4 additions and 5 deletions
-1
View File
@@ -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
View File
@@ -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'));
+1 -1
View File
@@ -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