Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def interface():
|
|
53 |
fn=update_ui,
|
54 |
inputs=code_input,
|
55 |
outputs=[ui_preview, js_output, error_output],
|
56 |
-
|
57 |
function(code, ui_output, js_code) {
|
58 |
// Create a temporary div to parse the HTML
|
59 |
const tempDiv = document.createElement('div');
|
|
|
53 |
fn=update_ui,
|
54 |
inputs=code_input,
|
55 |
outputs=[ui_preview, js_output, error_output],
|
56 |
+
js="""
|
57 |
function(code, ui_output, js_code) {
|
58 |
// Create a temporary div to parse the HTML
|
59 |
const tempDiv = document.createElement('div');
|