ThomasSimonini HF staff commited on
Commit
3fc76ef
1 Parent(s): ff670e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -373,7 +373,7 @@ with gr.Blocks() as demo:
373
  check_progress_button = gr.Button(value="Check my progress")
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)
 
373
  check_progress_button = gr.Button(value="Check my progress")
374
  output_text = gr.components.Text()
375
  output_pdf = gr.components.Image(type="pil")
376
+ output_dataframe = gr.components.Dataframe(headers=["Pass?", "Unit", "Environment", "Baseline", "Your best result", "Your best model id"], datatype=["markdown", "markdown", "markdown", "number", "number", "markdown", "bool"]) #value= certification(hf_username, first_name, last_name),
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)