QL2023 commited on
Commit
90e8682
·
verified ·
1 Parent(s): 302b13c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
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.Number(label="Previous Fail (This Course)",
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",