Hemg commited on
Commit
475b95c
·
verified ·
1 Parent(s): 267a057

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -51,11 +51,11 @@ def predict_performance(Year, Instagram_Advertising, Facebook_Advertising, Event
51
  iface = gr.Interface(
52
  fn=predict_performance,
53
  inputs=[
54
- gr.Slider(minimum=2024, maximum=2025, step=1, label="Year"),
55
- gr.Slider(minimum=10000, maximum=50000, step=500, label="Instagram_Advertising"),
56
- gr.Slider(minimum=10000, maximum=50000, step=500, label="Facebook_Advertising"),
57
- gr.Slider(minimum=20000, maximum=50000, step=500, label="Event_Expenses"),
58
- gr.Slider(minimum=5000, maximum=25000, step=500, label="Internet_Expenses")
59
  ],
60
  outputs=gr.HTML(), # Specify the output as HTML
61
  title="Student Admitted Forecast",
 
51
  iface = gr.Interface(
52
  fn=predict_performance,
53
  inputs=[
54
+ gr.Slider(minimum=2024, maximum=2025, step=1, label="Year",info="The forecasted Year"),
55
+ gr.Slider(minimum=10000, maximum=50000, step=500, label="Instagram_Advertising", info="How much do you spend on Instagram ads Yearly?"),
56
+ gr.Slider(minimum=10000, maximum=50000, step=500, label="Facebook_Advertising", info="How much do you spend on Facebook ads Yearly?"),
57
+ gr.Slider(minimum=20000, maximum=50000, step=500, label="Event_Expenses", info="What’s your typical budget for events?"),
58
+ gr.Slider(minimum=5000, maximum=25000, step=500, label="Internet_Expenses", info="How much do you spend on internet Yearly")
59
  ],
60
  outputs=gr.HTML(), # Specify the output as HTML
61
  title="Student Admitted Forecast",