Spaces:
Sleeping
Sleeping
changes
Browse files
app.py
CHANGED
@@ -2,9 +2,7 @@ import gradio as gr
|
|
2 |
import cv2
|
3 |
class_names = ['Kharbandhi Lhakhang','Milarepa Lhakhang','Pasakha Lhakhang']
|
4 |
img_height, img_width = 256, 256
|
5 |
-
|
6 |
model = tf.keras.models.load_model('CSR_models.h5')
|
7 |
-
|
8 |
image_output_class=class_names[np.argmax(predictions)]
|
9 |
def greet(sample_image):
|
10 |
sample_image_resized= cv2.resize(sample_image, (img_height,img_width))
|
|
|
2 |
import cv2
|
3 |
class_names = ['Kharbandhi Lhakhang','Milarepa Lhakhang','Pasakha Lhakhang']
|
4 |
img_height, img_width = 256, 256
|
|
|
5 |
model = tf.keras.models.load_model('CSR_models.h5')
|
|
|
6 |
image_output_class=class_names[np.argmax(predictions)]
|
7 |
def greet(sample_image):
|
8 |
sample_image_resized= cv2.resize(sample_image, (img_height,img_width))
|