Update app.py
Browse files
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)
|