Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -402,7 +402,7 @@ class AIEvaluationForm:
|
|
402 |
|
403 |
# Add example data button
|
404 |
with gr.Group():
|
405 |
-
gr.Markdown("
|
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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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)
|