delightfulrachel commited on
Commit
3c6725d
·
verified ·
1 Parent(s): 91d2a21

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -426,9 +426,9 @@ def main():
426
 
427
  with gr.Column():
428
  trigger_code_output = gr.Code(
429
- language="java",
430
- label="Corrected Code",
431
- value="// Corrected code will appear here",
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="java",
533
- label="Converted Code",
534
- value="// Converted code will appear here",
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