Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
automatic1111
GitHub Repository: automatic1111/stable-diffusion-webui
Path: blob/master/javascript/textualInversion.js
3055 views
1
2
3
4
function start_training_textual_inversion() {
5
gradioApp().querySelector('#ti_error').innerHTML = '';
6
7
var id = randomId();
8
requestProgress(id, gradioApp().getElementById('ti_output'), gradioApp().getElementById('ti_gallery'), function() {}, function(progress) {
9
gradioApp().getElementById('ti_progress').innerHTML = progress.textinfo;
10
});
11
12
var res = Array.from(arguments);
13
14
res[0] = id;
15
16
return res;
17
}
18
19