hixoop commited on
Commit
b361621
·
verified ·
1 Parent(s): 4d9f978

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,7 +7,7 @@ import tensorflow as tf
7
 
8
  model = keras.models.load_model('my_model (2).h5')
9
 
10
- CLASS_NAMES = ['Necrotic Tumor', 'Non-Tumor', 'Viable Tumor']
11
 
12
  def make_gradcam_heatmap(img_array, model):
13
  last_conv_layer = model.get_layer('last_conv_layer')
@@ -68,7 +68,7 @@ demo = gr.Interface(
68
  gr.Textbox(label="Classification Result")
69
  ],
70
  title="Bone Cancer Detection (Osteosarcoma)",
71
- description="Upload an H&E stained histopathology image to classify as Non-Tumor, Viable Tumor, or Necrotic Tumor."
72
  )
73
 
74
  demo.launch()
 
7
 
8
  model = keras.models.load_model('my_model (2).h5')
9
 
10
+ CLASS_NAMES = ['Non-Tumor', 'Non-Viable-Tumor', 'Viable', 'viable: non-viable']
11
 
12
  def make_gradcam_heatmap(img_array, model):
13
  last_conv_layer = model.get_layer('last_conv_layer')
 
68
  gr.Textbox(label="Classification Result")
69
  ],
70
  title="Bone Cancer Detection (Osteosarcoma)",
71
+ description="Upload an H&E stained histopathology image to classify as Non-Tumor, Non-Viable-Tumor, Viable, or viable: non-viable."
72
  )
73
 
74
  demo.launch()