Hemg commited on
Commit
bbe6622
·
verified ·
1 Parent(s): 1ef568b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -45,7 +45,7 @@ def predict_performance(Year, Instagram_Advertising, Facebook_Advertising, Event
45
  prediction = model.predict(scaled_input)[0]
46
 
47
  # Return the result as HTML with custom styling (green color and larger font)
48
- return f'<p style="font-size: 24px; color: green;">Forecast Admitted Students: {prediction:,.0f}</p>'
49
 
50
  # Create the Gradio app
51
  iface = gr.Interface(
@@ -59,7 +59,7 @@ iface = gr.Interface(
59
  ],
60
  outputs=gr.HTML(), # Specify the output as HTML
61
  title="Student Admission Forecast",
62
- description="Predict the forecast of admitted students based on marketing expenditures"
63
  )
64
 
65
  # Run the app
 
45
  prediction = model.predict(scaled_input)[0]
46
 
47
  # Return the result as HTML with custom styling (green color and larger font)
48
+ return f'<p style="font-size: 24px; color: green;">Forecast no of. Students admission: {prediction:,.0f}</p>'
49
 
50
  # Create the Gradio app
51
  iface = gr.Interface(
 
59
  ],
60
  outputs=gr.HTML(), # Specify the output as HTML
61
  title="Student Admission Forecast",
62
+ description="Forecast of chances of student admission based on marketing expenditures"
63
  )
64
 
65
  # Run the app