Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def interface():
|
|
17 |
with gr.Row():
|
18 |
code_input = gr.Code(label="Write your HTML/CSS/JS here", language="html")
|
19 |
with gr.Column():
|
20 |
-
ui_preview = gr.HTML(label="UI Preview")
|
21 |
error_output = gr.Textbox(label="Error", interactive=False)
|
22 |
|
23 |
# Instead of using _js, we'll directly handle the JavaScript with Python
|
|
|
17 |
with gr.Row():
|
18 |
code_input = gr.Code(label="Write your HTML/CSS/JS here", language="html")
|
19 |
with gr.Column():
|
20 |
+
ui_preview = gr.HTML(label="UI Preview",elem_id="snake-game-block")
|
21 |
error_output = gr.Textbox(label="Error", interactive=False)
|
22 |
|
23 |
# Instead of using _js, we'll directly handle the JavaScript with Python
|