ThomasSimonini HF staff commited on
Commit
198736b
1 Parent(s): dc254cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -257,6 +257,6 @@ with gr.Blocks() as demo:
257
  #email = gr.Textbox(placeholder="thomas.simonini@huggingface.co", label="Your Email (to receive your certificate)")
258
  check_progress_button = gr.Button(value="Check my progress")
259
  output = gr.components.Dataframe(value= certification(hf_username), headers=["Pass?", "Unit", "Environment", "Baseline", "Your best result", "Your best model id"], datatype=["bool", "markdown", "markdown", "number", "number", "markdown", "bool"])
260
- check_progress_button.click(fn=test_, inputs=hf_username, outputs=output)
261
 
262
  demo.launch()
 
257
  #email = gr.Textbox(placeholder="thomas.simonini@huggingface.co", label="Your Email (to receive your certificate)")
258
  check_progress_button = gr.Button(value="Check my progress")
259
  output = gr.components.Dataframe(value= certification(hf_username), headers=["Pass?", "Unit", "Environment", "Baseline", "Your best result", "Your best model id"], datatype=["bool", "markdown", "markdown", "number", "number", "markdown", "bool"])
260
+ check_progress_button.click(fn=certification, inputs=hf_username, outputs=output)
261
 
262
  demo.launch()