Update app.py
Browse files
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,
|
51 |
-
gr.Slider(0,
|
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
|