broadfield-dev commited on
Commit
96b8933
·
verified ·
1 Parent(s): 09b1f7a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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