mirror of
https://github.com/vladmandic/automatic
synced 2026-09-04 12:00:46 +02:00
add log monitoring
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
function start_train_monitoring() {
|
||||
gradioApp().querySelector('#train_error').innerHTML=''
|
||||
var id = randomId()
|
||||
const onProgress = (progress) => gradioApp().getElementById('train_progress').innerHTML = progress.textinfo;
|
||||
requestProgress(id, gradioApp().getElementById('train_gallery'), null, onProgress, false)
|
||||
var res = Array.from(arguments);
|
||||
res[0] = id
|
||||
return res
|
||||
}
|
||||
Reference in New Issue
Block a user