mirror of
https://github.com/vladmandic/automatic
synced 2026-09-17 08:19:11 +02:00
new training and models interface
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
function start_training_textual_inversion() {
|
||||
gradioApp().querySelector('#ti_error').innerHTML=''
|
||||
function start_train_monitoring() {
|
||||
gradioApp().querySelector('#train_error').innerHTML=''
|
||||
var id = randomId()
|
||||
const onProgress = (progress) => gradioApp().getElementById('ti_progress').innerHTML = progress.textinfo;
|
||||
requestProgress(id, gradioApp().getElementById('ti_gallery'), null, onProgress, false)
|
||||
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