Parthebhan commited on
Commit
b9cc840
·
verified ·
1 Parent(s): 5e8e7ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,7 +23,7 @@ def cerviccancer(Age, Num_sexual_partners, First_sexual_intercourse, Num_pregnan
23
  else:
24
  result = "Biopsy Needed 🔴"
25
 
26
- return f"Predicted probability of Biopsy: {prediction_value} \n\nResult: {result}"
27
 
28
 
29
 
@@ -63,7 +63,7 @@ cerviccancer_ga = gr.Interface(fn=cerviccancer,
63
  gr.Number(0.0, 1.0, label="Citology: [0 or 1]")
64
  ],
65
  outputs="text", title="Cervical Cancer Risk Prediction",
66
- description="Predicting probability of Biopsy Using Machine Learning.\n\n\ Dataset was obtained from the open-access Cervical cancer (Risk Factors) Data Set database of Cervical Cancer Risk Factors for Biopsy and are available at https://archive.ics.uci.edu/ml/datasets/Cervical+cancer+%28Risk+Factors%29 (accessed on 24 March 2022).\n\nDeveloped by: Parthebhan Pari \n\nDeveloped on: Apl 2024",
67
  theme='dark'
68
  )
69
 
 
23
  else:
24
  result = "Biopsy Needed 🔴"
25
 
26
+ return f"Biopsy Prediction: {prediction_value} \n\nResult: {result}"
27
 
28
 
29
 
 
63
  gr.Number(0.0, 1.0, label="Citology: [0 or 1]")
64
  ],
65
  outputs="text", title="Cervical Cancer Risk Prediction",
66
+ description="Predicting probability of Biopsy Using Machine Learning.\n\n Associated Data: \n\nData of Cervical cancer Availability Statement: dataset was obtained from the open-access Cervical cancer (Risk Factors) Data Set database of Cervical Cancer Risk Factors for Biopsy and are available at https://archive.ics.uci.edu/ml/datasets/Cervical+cancer+%28Risk+Factors%29 (accessed on 24 March 2022).\n\nDeveloped by: Parthebhan Pari\nDeveloped on: Apl 2024",
67
  theme='dark'
68
  )
69