Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def interface():
|
|
25 |
fn=update_ui,
|
26 |
inputs=code_input,
|
27 |
outputs=[ui_preview, error_output],
|
28 |
-
|
29 |
function(code) {
|
30 |
// Create a temporary div to parse the HTML/CSS/JS
|
31 |
const tempDiv = document.createElement('div');
|
|
|
25 |
fn=update_ui,
|
26 |
inputs=code_input,
|
27 |
outputs=[ui_preview, error_output],
|
28 |
+
js="""
|
29 |
function(code) {
|
30 |
// Create a temporary div to parse the HTML/CSS/JS
|
31 |
const tempDiv = document.createElement('div');
|