shubham680 commited on
Commit
5f7064a
·
verified ·
1 Parent(s): 0efbc53

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ if uploaded_img is not None:
44
  layer_ind = options.index(selected_option)
45
  selected_layer = conv_layers[layer_ind]
46
 
47
- func_model = Model(inputs = model.input, outputs = selected_layer.output)
48
 
49
  fm = func_model.predict(input_img)
50
  fm = fm[0]
 
44
  layer_ind = options.index(selected_option)
45
  selected_layer = conv_layers[layer_ind]
46
 
47
+ func_model = Model(inputs = model.layers[0].input, outputs = selected_layer.output)
48
 
49
  fm = func_model.predict(input_img)
50
  fm = fm[0]