andrewzamp commited on
Commit
a6e70f7
·
1 Parent(s): caee0d6

Update app.py

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