Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import gradio as gr
|
|
| 4 |
import numpy as np
|
| 5 |
from tensorflow.keras.preprocessing.image import ImageDataGenerator
|
| 6 |
|
| 7 |
-
model = load_model('
|
| 8 |
class_names={0:'Normal Appearance',
|
| 9 |
1:'The proventriculusof infected chickens showing several ecchymotic hemorrhages on the tip of the proventricular glandsat 3 dpi',
|
| 10 |
2:'edema with increased number of solitary and coalesced ecchymotic hemorrhages on theproventricular glands at 4 dpi',
|
|
|
|
| 4 |
import numpy as np
|
| 5 |
from tensorflow.keras.preprocessing.image import ImageDataGenerator
|
| 6 |
|
| 7 |
+
model = load_model('Chicken_Gizzard_Updated_model.h5',compile=True)
|
| 8 |
class_names={0:'Normal Appearance',
|
| 9 |
1:'The proventriculusof infected chickens showing several ecchymotic hemorrhages on the tip of the proventricular glandsat 3 dpi',
|
| 10 |
2:'edema with increased number of solitary and coalesced ecchymotic hemorrhages on theproventricular glands at 4 dpi',
|