Update app.py
Browse files
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 = ['
|
| 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
|
| 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()
|