rafaym commited on
Commit
bc6624c
·
verified ·
1 Parent(s): 4e0fe5b

fix: gr.Code has no placeholder — use empty value, hint moved to label

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -365,10 +365,10 @@ def build_app() -> gr.Blocks:
365
  # ---- Right column: editor + run + submit ----
366
  with gr.Column(scale=2):
367
  code_editor = gr.Code(
368
- label="Your Legesher code",
369
  language="python",
370
  lines=20,
371
- placeholder="# Write your solution here using Legesher\n# Use native-language variable and function names",
372
  )
373
 
374
  with gr.Row():
 
365
  # ---- Right column: editor + run + submit ----
366
  with gr.Column(scale=2):
367
  code_editor = gr.Code(
368
+ label="Your Legesher code — use native-language variable and function names",
369
  language="python",
370
  lines=20,
371
+ value="",
372
  )
373
 
374
  with gr.Row():