ThomasSimonini HF staff commited on
Commit
cc21236
1 Parent(s): 156c338

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -381,7 +381,7 @@ with gr.Blocks() as demo:
381
  last_name = gr.Textbox(placeholder="Doe", label="Your Last Name")
382
  #email = gr.Textbox(placeholder="jane.doe@gmail.com", label="Your Email (to receive your certificate)")
383
  check_progress_button = gr.Button(value="Check my progress")
384
- output_text = gr.components.Text()
385
  output_pdf = gr.components.Image(type="pil")
386
  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),
387
  check_progress_button.click(fn=certification, inputs=[hf_username, first_name, last_name], outputs=[output_text, output_dataframe, output_pdf])#[output1, output2])
 
381
  last_name = gr.Textbox(placeholder="Doe", label="Your Last Name")
382
  #email = gr.Textbox(placeholder="jane.doe@gmail.com", label="Your Email (to receive your certificate)")
383
  check_progress_button = gr.Button(value="Check my progress")
384
+ output_text = gr.components.Textbox()
385
  output_pdf = gr.components.Image(type="pil")
386
  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),
387
  check_progress_button.click(fn=certification, inputs=[hf_username, first_name, last_name], outputs=[output_text, output_dataframe, output_pdf])#[output1, output2])