felfri commited on
Commit
00e41a0
Β·
verified Β·
1 Parent(s): 8b2c6d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -2
app.py CHANGED
@@ -402,7 +402,7 @@ class AIEvaluationForm:
402
 
403
  # Add example data button
404
  with gr.Group():
405
- gr.Markdown("### πŸ“š Quick Start")
406
  example_btn = gr.Button("πŸ“ Load Example Data", variant="secondary")
407
 
408
  def load_example():
@@ -432,7 +432,15 @@ class AIEvaluationForm:
432
  outputs=all_inputs
433
  )
434
  with gr.Group():
435
- gr.Markdown("### πŸ“€ Upload Completed Evaluation JSON")
 
 
 
 
 
 
 
 
436
  uploaded_file = gr.File(label="Upload JSON File", file_types=[".json"])
437
  uploaded_preview = gr.JSON(label="Preview of Uploaded Content")
438
  uploaded_file.change(fn=load_uploaded_json, inputs=uploaded_file, outputs=uploaded_preview)
 
402
 
403
  # Add example data button
404
  with gr.Group():
405
+ gr.Markdown("## πŸ“š Quick Start")
406
  example_btn = gr.Button("πŸ“ Load Example Data", variant="secondary")
407
 
408
  def load_example():
 
432
  outputs=all_inputs
433
  )
434
  with gr.Group():
435
+ #todo: needs implementation
436
+ gr.Markdown("## πŸ“€ Upload&Test your Eval Card JSON")
437
+ uploaded_file = gr.File(label="Upload JSON File", file_types=[".json"])
438
+ uploaded_preview = gr.JSON(label="Preview of Uploaded Content")
439
+ uploaded_file.change(fn=load_uploaded_json, inputs=uploaded_file, outputs=uploaded_preview)
440
+
441
+ with gr.Group():
442
+ #todo: needs implementation
443
+ gr.Markdown("## πŸ“¬ Submit Your Scorecard to the Eval Cards Repository")
444
  uploaded_file = gr.File(label="Upload JSON File", file_types=[".json"])
445
  uploaded_preview = gr.JSON(label="Preview of Uploaded Content")
446
  uploaded_file.change(fn=load_uploaded_json, inputs=uploaded_file, outputs=uploaded_preview)