Spaces:
Sleeping
Sleeping
fix: gr.Code has no placeholder — use empty value, hint moved to label
Browse files
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 |
-
|
| 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():
|