theostos commited on
Commit
ea59ffe
·
1 Parent(s): 034e6b3

Fix unsupported coq in Gradio

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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="coq",
118
  interactive=True,
119
  lines=18,
120
  )
121
  target_box = gr.Code(
122
  label="Target snippet (contains [PREDICT_STATEMENT] / [PREDICT_DOCSTRING])",
123
- language="coq",
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…",