Spaces:
Running
on
A10G
Running
on
A10G
tastelikefeet
commited on
Commit
•
c5148c5
1
Parent(s):
f24075e
fix running
Browse files
app.py
CHANGED
@@ -210,7 +210,7 @@ escaped_value = json.dumps(value)
|
|
210 |
|
211 |
with block:
|
212 |
block.load(fn=None,
|
213 |
-
|
214 |
const script = document.createElement("script");
|
215 |
const text = document.createTextNode({escaped_value});
|
216 |
script.appendChild(text);
|
|
|
210 |
|
211 |
with block:
|
212 |
block.load(fn=None,
|
213 |
+
js=f"""() => {{
|
214 |
const script = document.createElement("script");
|
215 |
const text = document.createTextNode({escaped_value});
|
216 |
script.appendChild(text);
|