delightfulrachel commited on
Commit
19b1ede
Β·
verified Β·
1 Parent(s): 07016ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -963,7 +963,7 @@ def main():
963
 
964
  with gr.Column():
965
  trigger_code_output = gr.Code(
966
- language="java",
967
  label="βœ… Corrected Code (Apex)",
968
  value="// Corrected Apex code will appear here",
969
  elem_id="trigger_code_output"
@@ -1059,7 +1059,7 @@ def main():
1059
 
1060
  with gr.Column():
1061
  object_code_output = gr.Code(
1062
- language="java",
1063
  label="βœ… Converted Code (B2B LEX)",
1064
  value="// Converted B2B Lightning Experience code will appear here",
1065
  elem_id="object_code_output"
 
963
 
964
  with gr.Column():
965
  trigger_code_output = gr.Code(
966
+ language="python", # Using python highlighting as java is not supported
967
  label="βœ… Corrected Code (Apex)",
968
  value="// Corrected Apex code will appear here",
969
  elem_id="trigger_code_output"
 
1059
 
1060
  with gr.Column():
1061
  object_code_output = gr.Code(
1062
+ language="python", # Using python highlighting as java is not supported
1063
  label="βœ… Converted Code (B2B LEX)",
1064
  value="// Converted B2B Lightning Experience code will appear here",
1065
  elem_id="object_code_output"