ALVHB95 commited on
Commit
3daae96
1 Parent(s): e0ab7f1
Files changed (2) hide show
  1. __pycache__/theme.cpython-310.pyc +0 -0
  2. app.py +1 -10
__pycache__/theme.cpython-310.pyc ADDED
Binary file (3.45 kB). View file
 
app.py CHANGED
@@ -38,16 +38,7 @@ custom_title = "<span style='color: rgb(243, 239, 224);'>Green Greta</span>"
38
 
39
  # Cell 1: Image Classification Model
40
 
41
- # model1 = from_pretrained_keras("rocioadlc/efficientnetB0_trash")
42
-
43
- model1 = tf.keras.layers.TFSMLayer(
44
- 'rocioadlc/efficientnetB0_trash',
45
- call_endpoint='serving_default',
46
- call_training_endpoint=None,
47
- trainable=True,
48
- name=None,
49
- dtype=None
50
- )
51
 
52
  # Define class labels
53
  class_labels = ['cardboard', 'glass', 'metal', 'paper', 'plastic', 'trash']
 
38
 
39
  # Cell 1: Image Classification Model
40
 
41
+ model1 = from_pretrained_keras("rocioadlc/efficientnetB0_trash")
 
 
 
 
 
 
 
 
 
42
 
43
  # Define class labels
44
  class_labels = ['cardboard', 'glass', 'metal', 'paper', 'plastic', 'trash']