Commit
•
9dfdf0f
1
Parent(s):
e6f3d40
Update app.py
Browse files
app.py
CHANGED
@@ -360,6 +360,6 @@ with gr.Blocks() as demo:
|
|
360 |
check_progress_button = gr.Button(value="Check my progress")
|
361 |
output1 = gr.components.Dataframe(value= certification(hf_username), headers=["Pass?", "Unit", "Environment", "Baseline", "Your best result", "Your best model id"], datatype=["markdown", "markdown", "markdown", "number", "number", "markdown", "bool"])
|
362 |
#output2 = gr.components.Image(type="pil")
|
363 |
-
check_progress_button.click(fn=certification, inputs=hf_username, outputs=[output1, output2])
|
364 |
|
365 |
demo.launch(debug=True)
|
|
|
360 |
check_progress_button = gr.Button(value="Check my progress")
|
361 |
output1 = gr.components.Dataframe(value= certification(hf_username), headers=["Pass?", "Unit", "Environment", "Baseline", "Your best result", "Your best model id"], datatype=["markdown", "markdown", "markdown", "number", "number", "markdown", "bool"])
|
362 |
#output2 = gr.components.Image(type="pil")
|
363 |
+
check_progress_button.click(fn=certification, inputs=hf_username, outputs= output1)#[output1, output2])
|
364 |
|
365 |
demo.launch(debug=True)
|