Rehman1603 commited on
Commit
056b6e5
·
verified ·
1 Parent(s): c2f23e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ from keras.models import load_model
2
  import cv2
3
  from tensorflow.keras.preprocessing.image import ImageDataGenerator
4
  import gradio as gr
5
-
6
 
7
  heart_model=load_model('Chicken_Heart_model.h5',compile=True)
8
  class_name={0:'Dilation(eccentric)',1:'Hepatoma',2:'Hypertrophy(concentric)',3:'Hypertrophy(physiological)',4:'Infraction Damage',5:'Normal'}
 
2
  import cv2
3
  from tensorflow.keras.preprocessing.image import ImageDataGenerator
4
  import gradio as gr
5
+ import numpy as np
6
 
7
  heart_model=load_model('Chicken_Heart_model.h5',compile=True)
8
  class_name={0:'Dilation(eccentric)',1:'Hepatoma',2:'Hypertrophy(concentric)',3:'Hypertrophy(physiological)',4:'Infraction Damage',5:'Normal'}