Commit
·
ff670e2
1
Parent(s):
e9b5b0a
Update app.py
Browse files
app.py
CHANGED
@@ -374,6 +374,6 @@ with gr.Blocks() as demo:
|
|
374 |
output_text = gr.components.Text()
|
375 |
output_pdf = gr.components.Image(type="pil")
|
376 |
output_dataframe = gr.components.Dataframe(value= certification(hf_username, first_name, last_name), headers=["Pass?", "Unit", "Environment", "Baseline", "Your best result", "Your best model id"], datatype=["markdown", "markdown", "markdown", "number", "number", "markdown", "bool"])
|
377 |
-
check_progress_button.click(fn=certification, inputs=[hf_username, first_name, last_name], outputs=[output_text,
|
378 |
|
379 |
demo.launch(debug=True)
|
|
|
374 |
output_text = gr.components.Text()
|
375 |
output_pdf = gr.components.Image(type="pil")
|
376 |
output_dataframe = gr.components.Dataframe(value= certification(hf_username, first_name, last_name), headers=["Pass?", "Unit", "Environment", "Baseline", "Your best result", "Your best model id"], datatype=["markdown", "markdown", "markdown", "number", "number", "markdown", "bool"])
|
377 |
+
check_progress_button.click(fn=certification, inputs=[hf_username, first_name, last_name], outputs=[output_text, output_dataframe, output_pdf])#[output1, output2])
|
378 |
|
379 |
demo.launch(debug=True)
|