ntam0001 commited on
Commit
ad846d9
·
verified ·
1 Parent(s): 3152d2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -47,8 +47,8 @@ def predict_eligibility(theory_score, practice_score):
47
  demo = gr.Interface(
48
  fn=predict_eligibility,
49
  inputs=[
50
- gr.Slider(0, 100, value=50, step=1, label="Theory Score"),
51
- gr.Slider(0, 100, value=60, step=1, label="Practice Score")
52
  ],
53
  outputs=[
54
  gr.Textbox(label="Prediction"), # Changed from gr.Label to gr.Textbox
 
47
  demo = gr.Interface(
48
  fn=predict_eligibility,
49
  inputs=[
50
+ gr.Slider(0, 20, value=0, step=1, label="Theory Score"),
51
+ gr.Slider(0, 30, value=0, step=1, label="Practice Score")
52
  ],
53
  outputs=[
54
  gr.Textbox(label="Prediction"), # Changed from gr.Label to gr.Textbox