VishnuEcoClim commited on
Commit
28ea4d4
·
1 Parent(s): 59da87a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4,10 +4,11 @@ from PIL import Image
4
  import urllib.request
5
  import io
6
  from utils import *
 
7
 
8
  # Initialize labels and model
9
  labels = ['cardboard', 'glass', 'metal', 'paper', 'plastic', 'trash']
10
- model = model_arc() # Assuming this function initializes and returns a trained model
11
 
12
 
13
  # Streamlit UI
 
4
  import urllib.request
5
  import io
6
  from utils import *
7
+ import tensorflow as tf
8
 
9
  # Initialize labels and model
10
  labels = ['cardboard', 'glass', 'metal', 'paper', 'plastic', 'trash']
11
+ model = tf.keras.model.load_model('classify_model.h5')
12
 
13
 
14
  # Streamlit UI