delightfulrachel commited on
Commit
16891f0
·
verified ·
1 Parent(s): 67ada02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -13
app.py CHANGED
@@ -426,19 +426,17 @@ def main():
426
  [object_output, object_validation_output, object_chart]
427
  )
428
 
429
- gr.Markdown("### About This Tool")
430
- gr.Markdown(
431
- """
432
- - **Primary Model**: Performs the initial code conversion or correction.
433
- - **Validation Model**: Reviews and validates the output from the primary model, identifying potential issues or improvements.
434
- - **Trigger Correction**: Fixes Apex Triggers for B2B LEx compatibility.
435
- - **Object Conversion**: Maps and converts CloudCraze object definitions to B2B LEx.
436
- - **Model Selection**: Choose from Together AI models or Anthropic's Claude models.
437
- - **Visualization**: See validation metrics in a radar chart for easy assessment.
438
-
439
- Always review AI-generated code before production use.
440
- """
441
- )
442
 
443
  app.launch()
444
 
 
426
  [object_output, object_validation_output, object_chart]
427
  )
428
 
429
+ with gr.Accordion("About This Tool", open=False):
430
+ gr.Markdown("""
431
+ • Primary Model: Performs the initial code conversion or correction.
432
+ Validation Model: Reviews and validates the output from the primary model, identifying potential issues or improvements.
433
+ Trigger Correction: Fixes Apex Triggers for B2B LEx compatibility.
434
+ Object Conversion: Maps and converts CloudCraze object definitions to B2B LEx.
435
+ Model Selection: Choose from Together AI models or Anthropic's Claude models.
436
+
437
+ Validation now outputs four key metrics (quality, accuracy, completeness, best practices) as both JSON and a fun chart.
438
+ Always review AI-generated code before production use.
439
+ """)
 
 
440
 
441
  app.launch()
442