Update app.py
Browse files
app.py
CHANGED
@@ -426,9 +426,9 @@ def main():
|
|
426 |
|
427 |
with gr.Column():
|
428 |
trigger_code_output = gr.Code(
|
429 |
-
language="
|
430 |
-
label="Corrected Code",
|
431 |
-
value="
|
432 |
elem_id="trigger_code_output"
|
433 |
)
|
434 |
|
@@ -529,9 +529,9 @@ def main():
|
|
529 |
|
530 |
with gr.Column():
|
531 |
object_code_output = gr.Code(
|
532 |
-
language="
|
533 |
-
label="Converted Code",
|
534 |
-
value="
|
535 |
elem_id="object_code_output"
|
536 |
)
|
537 |
|
|
|
426 |
|
427 |
with gr.Column():
|
428 |
trigger_code_output = gr.Code(
|
429 |
+
language="python", # Using Python syntax highlighting as it's supported
|
430 |
+
label="Corrected Code (Apex)",
|
431 |
+
value="# Corrected Apex code will appear here",
|
432 |
elem_id="trigger_code_output"
|
433 |
)
|
434 |
|
|
|
529 |
|
530 |
with gr.Column():
|
531 |
object_code_output = gr.Code(
|
532 |
+
language="python", # Using Python syntax highlighting as it's supported
|
533 |
+
label="Converted Code (Apex)",
|
534 |
+
value="# Converted Apex code will appear here",
|
535 |
elem_id="object_code_output"
|
536 |
)
|
537 |
|