Update public/apiCall.js
Browse files- public/apiCall.js +3 -0
public/apiCall.js
CHANGED
@@ -16,17 +16,20 @@ class GRAPI {
|
|
16 |
|
17 |
this.call_API_btn = createButton('<i class="fa-solid fa-wand-magic-sparkles"></i>')
|
18 |
.mousePressed(this.call_API.bind(this))
|
|
|
19 |
.id('api-btn')
|
20 |
.parent('#inner-right');
|
21 |
|
22 |
this.running_API_btn = createButton('<i class="fa-solid fa-spinner"></i>')
|
23 |
.id('running-api-btn')
|
|
|
24 |
.parent('#inner-right')
|
25 |
.addClass('hide');
|
26 |
|
27 |
this.show_diffused = false;
|
28 |
this.showHide_diff_btn = createButton('<i class="fa-solid fa-eye-slash"></i>')
|
29 |
.mousePressed(this.showHide_diff.bind(this))
|
|
|
30 |
.id('show-hide-diff-btn')
|
31 |
.parent('#inner-left');
|
32 |
|
|
|
16 |
|
17 |
this.call_API_btn = createButton('<i class="fa-solid fa-wand-magic-sparkles"></i>')
|
18 |
.mousePressed(this.call_API.bind(this))
|
19 |
+
.attribute('title', 'Diffuse current frame');
|
20 |
.id('api-btn')
|
21 |
.parent('#inner-right');
|
22 |
|
23 |
this.running_API_btn = createButton('<i class="fa-solid fa-spinner"></i>')
|
24 |
.id('running-api-btn')
|
25 |
+
.attribute('title', 'processing diffusion ...');
|
26 |
.parent('#inner-right')
|
27 |
.addClass('hide');
|
28 |
|
29 |
this.show_diffused = false;
|
30 |
this.showHide_diff_btn = createButton('<i class="fa-solid fa-eye-slash"></i>')
|
31 |
.mousePressed(this.showHide_diff.bind(this))
|
32 |
+
.attribute('title', 'Show/Hide diffused results ');
|
33 |
.id('show-hide-diff-btn')
|
34 |
.parent('#inner-left');
|
35 |
|