Spaces:
Running
Running
salomonsky
commited on
Commit
•
e686ff5
1
Parent(s):
1d9a73d
Update index.html
Browse files- index.html +12 -12
index.html
CHANGED
@@ -79,7 +79,7 @@
|
|
79 |
name: "gallery",
|
80 |
visible: true,
|
81 |
elem_id: "gallery",
|
82 |
-
style: { grid: [
|
83 |
},
|
84 |
},
|
85 |
{
|
@@ -166,12 +166,13 @@
|
|
166 |
}
|
167 |
}
|
168 |
`,
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
|
|
175 |
{
|
176 |
targets: [11],
|
177 |
trigger: "click",
|
@@ -181,8 +182,6 @@
|
|
181 |
js: `
|
182 |
() => {
|
183 |
const captureElement = document.getElementById(1);
|
184 |
-
let bg_color = getComputedStyle(document.querySelector("#root .container"))["background-color"];
|
185 |
-
captureElement.style.backgroundColor = bg_color;
|
186 |
html2canvas(captureElement)
|
187 |
.then(canvas => {
|
188 |
canvas.style.display = 'none';
|
@@ -206,9 +205,10 @@
|
|
206 |
api_name: null,
|
207 |
scroll_to_output: false,
|
208 |
show_progress: true,
|
209 |
-
|
210 |
-
|
211 |
-
|
|
|
212 |
</script>
|
213 |
|
214 |
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
|
79 |
name: "gallery",
|
80 |
visible: true,
|
81 |
elem_id: "gallery",
|
82 |
+
style: { grid: [5], height: "auto" }, // Ajusta las dimensiones de la cuadrícula
|
83 |
},
|
84 |
},
|
85 |
{
|
|
|
166 |
}
|
167 |
}
|
168 |
`,
|
169 |
+
status_tracker: null,
|
170 |
+
queue: null,
|
171 |
+
api_name: null,
|
172 |
+
scroll_to_output: false,
|
173 |
+
show_progress: true,
|
174 |
+
},
|
175 |
+
|
176 |
{
|
177 |
targets: [11],
|
178 |
trigger: "click",
|
|
|
182 |
js: `
|
183 |
() => {
|
184 |
const captureElement = document.getElementById(1);
|
|
|
|
|
185 |
html2canvas(captureElement)
|
186 |
.then(canvas => {
|
187 |
canvas.style.display = 'none';
|
|
|
205 |
api_name: null,
|
206 |
scroll_to_output: false,
|
207 |
show_progress: true,
|
208 |
+
},
|
209 |
+
],
|
210 |
+
};
|
211 |
+
|
212 |
</script>
|
213 |
|
214 |
<link rel="preconnect" href="https://fonts.googleapis.com" />
|