ThomasSimonini HF Staff commited on
Commit
99ad0a1
·
1 Parent(s): 1bff76c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -359,7 +359,7 @@ with gr.Blocks() as demo:
359
  last_name = gr.Textbox(placeholder="Doe", label="Your Last Name")
360
  #email = gr.Textbox(placeholder="[email protected]", label="Your Email (to receive your certificate)")
361
  check_progress_button = gr.Button(value="Check my progress")
362
- 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"])
363
  #output2 = gr.components.Image(type="pil")
364
  check_progress_button.click(fn=certification, inputs=[hf_username, first_name, last_name], outputs= output1)#[output1, output2])
365
 
 
359
  last_name = gr.Textbox(placeholder="Doe", label="Your Last Name")
360
  #email = gr.Textbox(placeholder="[email protected]", label="Your Email (to receive your certificate)")
361
  check_progress_button = gr.Button(value="Check my progress")
362
+ output1 = 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"])
363
  #output2 = gr.components.Image(type="pil")
364
  check_progress_button.click(fn=certification, inputs=[hf_username, first_name, last_name], outputs= output1)#[output1, output2])
365