Spaces:
Sleeping
Sleeping
Commit ยท
744a16b
1
Parent(s): bba728d
Quick commit
Browse files
app.py
CHANGED
|
@@ -28,10 +28,12 @@ with gr.Blocks(title="Kaggle Points", theme=gr.themes.Ocean()) as demo:
|
|
| 28 |
n_teammates = gr.Number(label="๐ฅ Number of Teammates", value=1, minimum=1)
|
| 29 |
rank = gr.Number(label="๐ฅ Final Rank", value=1, minimum=1)
|
| 30 |
n_teams = gr.Number(label="๐ Total Number of Teams", value=1000, minimum=1)
|
| 31 |
-
t = gr.Number(label="โฑ๏ธ
|
| 32 |
|
| 33 |
with gr.Column(scale=1):
|
| 34 |
-
calculate_btn = gr.Button(
|
|
|
|
|
|
|
| 35 |
output = gr.Textbox(label="๐ Your Points", interactive=False, lines=2)
|
| 36 |
|
| 37 |
calculate_btn.click(
|
|
|
|
| 28 |
n_teammates = gr.Number(label="๐ฅ Number of Teammates", value=1, minimum=1)
|
| 29 |
rank = gr.Number(label="๐ฅ Final Rank", value=1, minimum=1)
|
| 30 |
n_teams = gr.Number(label="๐ Total Number of Teams", value=1000, minimum=1)
|
| 31 |
+
t = gr.Number(label="โฑ๏ธ Time Elapsed (days)", value=0, minimum=0)
|
| 32 |
|
| 33 |
with gr.Column(scale=1):
|
| 34 |
+
calculate_btn = gr.Button(
|
| 35 |
+
"๐งฎ Calculate Points", variant="primary", size="lg"
|
| 36 |
+
)
|
| 37 |
output = gr.Textbox(label="๐ Your Points", interactive=False, lines=2)
|
| 38 |
|
| 39 |
calculate_btn.click(
|