Spaces:
Running
Running
lalashechka
commited on
Update index.html
Browse files- index.html +1 -109
index.html
CHANGED
@@ -30,115 +30,7 @@ button#component-16 {
|
|
30 |
|
31 |
<gradio-app id='ga33' src="https://fffiloni-pasd.hf.space"></gradio-app>
|
32 |
|
33 |
-
|
34 |
-
<script>
|
35 |
-
const targetNode4135 = document.body; // или другой родительский элемент
|
36 |
-
const config4135 = { childList: true, subtree: true };
|
37 |
-
const callback4135 = function(mutationsList, observer) {
|
38 |
-
for(let mutation of mutationsList) {
|
39 |
-
if (mutation.type === 'childList') {
|
40 |
-
const grApp41325 = document.getElementById('ga33');
|
41 |
-
const targetDiv4135 = grApp41325.querySelector('#component-20');
|
42 |
-
const targetSpan4135 = targetDiv4135.querySelector('label[data-testid="block-label"]');
|
43 |
-
targetSpan4135.textContent = "Скачать результат:";
|
44 |
-
observer.disconnect(); // Останавливаем наблюдение после изменения
|
45 |
-
}
|
46 |
-
}
|
47 |
-
};
|
48 |
-
const observer4135 = new MutationObserver(callback4135);
|
49 |
-
observer4135.observe(targetNode4135, config4135);
|
50 |
-
</script>
|
51 |
-
|
52 |
-
<script>
|
53 |
-
const targetNode3 = document.body; // или другой родительский элемент
|
54 |
-
const config3 = { childList: true, subtree: true };
|
55 |
-
const callback3 = function(mutationsList, observer) {
|
56 |
-
for(let mutation of mutationsList) {
|
57 |
-
if (mutation.type === 'childList') {
|
58 |
-
const grApp3 = document.getElementById('ga33');
|
59 |
-
|
60 |
-
const targetDiv3 = grApp3.querySelector('#component-7');
|
61 |
-
const targetSpan3 = Array.from(targetDiv3.querySelectorAll('span')).find(span => span.textContent.includes('Advanced settings'));
|
62 |
-
targetSpan3.textContent = "Расширенные настройки";
|
63 |
-
observer.disconnect(); // Останавливаем наблюдение после изменения
|
64 |
-
}
|
65 |
-
}
|
66 |
-
};
|
67 |
-
const observer3 = new MutationObserver(callback3);
|
68 |
-
observer3.observe(targetNode3, config3);
|
69 |
-
</script>
|
70 |
-
|
71 |
-
<script>
|
72 |
-
const targetNode141 = document.body; // или другой родительский элемент
|
73 |
-
const config141 = { childList: true, subtree: true };
|
74 |
-
const callback141 = function(mutationsList, observer) {
|
75 |
-
for(let mutation of mutationsList) {
|
76 |
-
if (mutation.type === 'childList') {
|
77 |
-
const grApp141 = document.getElementById('ga33');
|
78 |
-
const targetDiv141 = grApp141.querySelector('#component-6');
|
79 |
-
const targetSpan141 = targetDiv141.querySelector('span[data-testid="block-info"]');
|
80 |
-
targetSpan141.textContent = "Краткое описание фото:";
|
81 |
-
observer.disconnect(); // Останавливаем наблюдение после изменения
|
82 |
-
}
|
83 |
-
}
|
84 |
-
};
|
85 |
-
const observer141 = new MutationObserver(callback141);
|
86 |
-
observer141.observe(targetNode141, config141);
|
87 |
-
</script>
|
88 |
-
|
89 |
-
|
90 |
-
<script>
|
91 |
-
const targetNode54135 = document.body; // или другой родительский элемент
|
92 |
-
const config54135 = { childList: true, subtree: true };
|
93 |
-
const callback54135 = function(mutationsList, observer) {
|
94 |
-
for(let mutation of mutationsList) {
|
95 |
-
if (mutation.type === 'childList') {
|
96 |
-
const grApp54132 = document.getElementById('ga33');
|
97 |
-
const targetDiv54135 = grApp54132.querySelector('#component-19');
|
98 |
-
const targetSpan54135 = targetDiv54135.querySelector('label[data-testid="block-label"]');
|
99 |
-
targetSpan54135.textContent = "Результат:";
|
100 |
-
observer.disconnect(); // Останавливаем наблюдение после изменения
|
101 |
-
}
|
102 |
-
}
|
103 |
-
};
|
104 |
-
const observer54135 = new MutationObserver(callback54135);
|
105 |
-
observer54135.observe(targetNode54135, config54135);
|
106 |
-
</script>
|
107 |
-
|
108 |
-
<script>
|
109 |
-
const targetNode5 = document.body; // или другой родительский элемент
|
110 |
-
const config5 = { childList: true, subtree: true };
|
111 |
-
const callback5 = function(mutationsList, observer) {
|
112 |
-
for(let mutation of mutationsList) {
|
113 |
-
if (mutation.type === 'childList') {
|
114 |
-
const grApp2 = document.getElementById('ga33');
|
115 |
-
const targetDiv5 = grApp2.querySelector('#component-5');
|
116 |
-
const targetSpan5 = targetDiv5.querySelector('label[data-testid="block-label"]');
|
117 |
-
targetSpan5.textContent = "Исходное фото:";
|
118 |
-
observer.disconnect(); // Останавливаем наблюдение после изменения
|
119 |
-
}
|
120 |
-
}
|
121 |
-
};
|
122 |
-
const observer5 = new MutationObserver(callback5);
|
123 |
-
observer5.observe(targetNode5, config5);
|
124 |
-
</script>
|
125 |
-
|
126 |
-
<script>
|
127 |
-
const targetNode8 = document.body; // или другой родительский элемент
|
128 |
-
const config8 = { childList: true, subtree: true };
|
129 |
-
const callback8 = function(mutationsList, observer) {
|
130 |
-
for(let mutation of mutationsList) {
|
131 |
-
if (mutation.type === 'childList') {
|
132 |
-
const grApp8 = document.getElementById('ga33');
|
133 |
-
const targetDiv8 = grApp8.querySelector('#component-16');
|
134 |
-
targetDiv8.textContent = "Улучшить фото";
|
135 |
-
observer.disconnect(); // Останавливаем наблюдение после изменения
|
136 |
-
}
|
137 |
-
}
|
138 |
-
};
|
139 |
-
const observer8 = new MutationObserver(callback8);
|
140 |
-
observer8.observe(targetNode8, config8);
|
141 |
-
</script>
|
142 |
|
143 |
</body>
|
144 |
</html>
|
|
|
30 |
|
31 |
<gradio-app id='ga33' src="https://fffiloni-pasd.hf.space"></gradio-app>
|
32 |
|
33 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
|
35 |
</body>
|
36 |
</html>
|