Commit
·
be6d0e1
1
Parent(s):
0ad2321
Indentation
Browse files
app.py
CHANGED
@@ -195,12 +195,11 @@ with gr.Blocks() as demo:
|
|
195 |
Just type your Hugging Face Username 🤗 (in my case ThomasSimonini)
|
196 |
|
197 |
""")
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
check_progress_button.click(fn=test_, inputs=hf_username, outputs=output)
|
205 |
|
206 |
demo.launch()
|
|
|
195 |
Just type your Hugging Face Username 🤗 (in my case ThomasSimonini)
|
196 |
|
197 |
""")
|
198 |
+
|
199 |
+
hf_username = gr.Textbox(placeholder="ThomasSimonini", label="Your Hugging Face Username")
|
200 |
+
email = gr.Textbox(placeholder="[email protected]", label="Your Email (to receive your certificate)")
|
201 |
+
check_progress_button = gr.Button(value="Check my progress")
|
202 |
+
output = gr.components.Dataframe(value= test_(hf_username), headers=["Unit", "Environment", "Library", "Baseline", "Your best result", "Your best model id", "Pass?"], datatype=["markdown", "markdown", "markdown", "number", "number", "markdown", "bool"])
|
203 |
+
check_progress_button.click(fn=test_, inputs=hf_username, outputs=output)
|
|
|
204 |
|
205 |
demo.launch()
|