Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -80,11 +80,7 @@ with gr.Blocks(title=title) as demo:
|
|
| 80 |
type="value"
|
| 81 |
)
|
| 82 |
with gr.Row():
|
| 83 |
-
pre_fail = gr.
|
| 84 |
-
info="Numerical value only, 0-10",
|
| 85 |
-
value=10,
|
| 86 |
-
step = 1
|
| 87 |
-
)
|
| 88 |
with gr.Row():
|
| 89 |
this_fail = gr.Number(label="Previous Fail (All Courses)",
|
| 90 |
info="Numerical value only, 0-10",
|
|
|
|
| 80 |
type="value"
|
| 81 |
)
|
| 82 |
with gr.Row():
|
| 83 |
+
pre_fail = gr.Slider(0, 10, value=0, label="Count", info="Choose between 2 and 20")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
with gr.Row():
|
| 85 |
this_fail = gr.Number(label="Previous Fail (All Courses)",
|
| 86 |
info="Numerical value only, 0-10",
|