TSingye commited on
Commit
372f38c
1 Parent(s): b6d3b3a
Files changed (1) hide show
  1. app.py +0 -2
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))