mashdemy commited on
Commit
7e2d2ed
1 Parent(s): 836d0df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,8 +11,8 @@ def predict_diabetes_func(Pregnancies, Glucose, BloodPressure, SkinThickness, In
11
  prediction = diabetes_classifier.predict(input_df)
12
  return "Positive" if prediction[0] == 1 else "Negative"
13
 
14
- iface = gr.Interface( title = "Mashdemy AI Demo _Diabetes Prediction App"
15
- description = "Enter the various parameters and click submit to know if the result is Positive or Negative"
16
  fn=predict_diabetes_func, # Updated function name
17
  inputs=[
18
  gr.Number(label="Pregnancies"),
 
11
  prediction = diabetes_classifier.predict(input_df)
12
  return "Positive" if prediction[0] == 1 else "Negative"
13
 
14
+ iface = gr.Interface( title = "Mashdemy AI Demo _Diabetes Prediction App",
15
+ description = "Enter the various parameters and click submit to know if the result is Positive or Negative",
16
  fn=predict_diabetes_func, # Updated function name
17
  inputs=[
18
  gr.Number(label="Pregnancies"),