wizzseen commited on
Commit
0d37720
1 Parent(s): 6f47410

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -1
app.py CHANGED
@@ -5,6 +5,9 @@ import tensorflow as tf
5
  import cv2
6
  import numpy as np
7
  from tensorflow.keras.models import load_model
 
 
 
8
 
9
  # Load the pre-trained model
10
  new_model = load_model('cat_classifier_model.h5')
@@ -31,4 +34,12 @@ iface = gr.Interface(
31
  )
32
 
33
  # Launch the Gradio interface
34
- iface.launch()
 
 
 
 
 
 
 
 
 
5
  import cv2
6
  import numpy as np
7
  from tensorflow.keras.models import load_model
8
+ from tensorflow.keras.models import load_model
9
+ from tensorflow.keras.preprocessing import image
10
+ import numpy as np
11
 
12
  # Load the pre-trained model
13
  new_model = load_model('cat_classifier_model.h5')
 
34
  )
35
 
36
  # Launch the Gradio interface
37
+ iface.launch()
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+