MUmairAB commited on
Commit
ba3419a
1 Parent(s): 10ad57c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -22,8 +22,9 @@ def detect_cancer(img):
22
  return("Unfortunately! you have breast cancer. Kindly consult a doctor!")
23
 
24
 
25
-
26
- gr.Interface(fn=detect_cancer,
 
27
  inputs=gr.Image(shape=(50, 50)),
28
  outputs='text',
29
  examples=["sample2_class1.png", "sample3_class0","sample4_class0"]).launch()
 
22
  return("Unfortunately! you have breast cancer. Kindly consult a doctor!")
23
 
24
 
25
+ gr.Interface(title="Breast Cancer Diagnosis\n(by Umair Akram)",
26
+ description="Enter the Histopathological image of the breast to predict the diagnosis."
27
+ fn=detect_cancer,
28
  inputs=gr.Image(shape=(50, 50)),
29
  outputs='text',
30
  examples=["sample2_class1.png", "sample3_class0","sample4_class0"]).launch()