andrewzamp commited on
Commit
ae846dd
·
1 Parent(s): 0c48d27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ from tensorflow.keras.applications.convnext import preprocess_input # type: igno
8
  import gradio as gr
9
 
10
  # Load the model
11
- model = load_model('models/ConvNeXtBase_80_tresh_spp.tf')
12
 
13
  # Load the taxonomy .csv
14
  taxo_df = pd.read_csv('taxonomy/taxonomy_mapping.csv', sep=';')
 
8
  import gradio as gr
9
 
10
  # Load the model
11
+ model = keras.layers.TFSMLayer('models/ConvNeXtBase_80_tresh_spp.tf')
12
 
13
  # Load the taxonomy .csv
14
  taxo_df = pd.read_csv('taxonomy/taxonomy_mapping.csv', sep=';')