ThomasSimonini HF staff commited on
Commit
f7087b5
·
1 Parent(s): 8bf192d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -256,7 +256,7 @@ with gr.Blocks() as demo:
256
  hf_username = gr.Textbox(placeholder="ThomasSimonini", label="Your Hugging Face Username")
257
  #email = gr.Textbox(placeholder="[email protected]", 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=["Unit", "Environment", "Library", "Baseline", "Your best result", "Your best model id", "Pass?"], datatype=["markdown", "markdown", "markdown", "number", "number", "markdown", "bool"])
260
  check_progress_button.click(fn=test_, inputs=hf_username, outputs=output)
261
 
262
  demo.launch()
 
256
  hf_username = gr.Textbox(placeholder="ThomasSimonini", label="Your Hugging Face Username")
257
  #email = gr.Textbox(placeholder="[email protected]", 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()