anshharora commited on
Commit
fe3aabc
·
verified ·
1 Parent(s): 483af95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -71,15 +71,15 @@ if __name__ == '__main__':
71
 
72
  # Create form fields
73
  with gr.Row():
74
- age = gr.Number(label="Age", interactive=True, placeholder="Enter Age")
75
  with gr.Row():
76
- year1_marks = gr.Number(label="First Year Marks", interactive=True, placeholder="Enter Year 1 Marks")
77
  with gr.Row():
78
- year2_marks = gr.Number(label="Second Year Marks", interactive=True, placeholder="Enter Year 2 Marks")
79
  with gr.Row():
80
- studytime = gr.Number(label="Study Time (hours/week)", interactive=True, placeholder="Enter Study Time")
81
  with gr.Row():
82
- failures = gr.Number(label="Number of Failures", interactive=True, placeholder="Enter Number of Failures")
83
 
84
  submit_button = gr.Button("Predict", variant="primary")
85
  output = gr.Textbox(label="Predicted Final Marks", interactive=False)
 
71
 
72
  # Create form fields
73
  with gr.Row():
74
+ age = gr.Number(label="Age", interactive=True)
75
  with gr.Row():
76
+ year1_marks = gr.Number(label="First Year Marks", interactive=True)
77
  with gr.Row():
78
+ year2_marks = gr.Number(label="Second Year Marks", interactive=True)
79
  with gr.Row():
80
+ studytime = gr.Number(label="Study Time (hours/week)", interactive=True)
81
  with gr.Row():
82
+ failures = gr.Number(label="Number of Failures", interactive=True)
83
 
84
  submit_button = gr.Button("Predict", variant="primary")
85
  output = gr.Textbox(label="Predicted Final Marks", interactive=False)