yesbut commited on
Commit
7bbdd9f
·
verified ·
1 Parent(s): e00e839

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -267,7 +267,7 @@ with gr.Blocks() as demo:
267
  """)
268
  # Hidden Textbox to pass the username
269
  hf_username = gr.Textbox(value="yesbut", visible=False)
270
- output = gr.Dataframe(headers=["Pass?", "Unit", "Environment", "Baseline", "Your best result", "Your best model id"])
271
 
272
  # Automatically load progress
273
  demo.load(fn=certification, inputs=[hf_username], outputs=output)
 
267
  """)
268
  # Hidden Textbox to pass the username
269
  hf_username = gr.Textbox(value="yesbut", visible=False)
270
+ output = 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"])
271
 
272
  # Automatically load progress
273
  demo.load(fn=certification, inputs=[hf_username], outputs=output)