Spaces:
Runtime error
Runtime error
Fix unsupported coq in Gradio
Browse files
app.py
CHANGED
|
@@ -114,13 +114,13 @@ with gr.Blocks(title="Rocq Annotator (ZeroGPU, FP8)") as demo:
|
|
| 114 |
with gr.Row():
|
| 115 |
prefix_box = gr.Code(
|
| 116 |
label="Prefix (context; auto-filled from dropdown, then editable)",
|
| 117 |
-
language=
|
| 118 |
interactive=True,
|
| 119 |
lines=18,
|
| 120 |
)
|
| 121 |
target_box = gr.Code(
|
| 122 |
label="Target snippet (contains [PREDICT_STATEMENT] / [PREDICT_DOCSTRING])",
|
| 123 |
-
language=
|
| 124 |
interactive=True,
|
| 125 |
lines=18,
|
| 126 |
placeholder="Paste the code to annotate…",
|
|
|
|
| 114 |
with gr.Row():
|
| 115 |
prefix_box = gr.Code(
|
| 116 |
label="Prefix (context; auto-filled from dropdown, then editable)",
|
| 117 |
+
language=None,
|
| 118 |
interactive=True,
|
| 119 |
lines=18,
|
| 120 |
)
|
| 121 |
target_box = gr.Code(
|
| 122 |
label="Target snippet (contains [PREDICT_STATEMENT] / [PREDICT_DOCSTRING])",
|
| 123 |
+
language=None,
|
| 124 |
interactive=True,
|
| 125 |
lines=18,
|
| 126 |
placeholder="Paste the code to annotate…",
|