Santenana commited on
Commit
9663408
·
1 Parent(s): 06cf091

Update funciones.py

Browse files
Files changed (1) hide show
  1. funciones.py +1 -1
funciones.py CHANGED
@@ -6,7 +6,7 @@ def clasificacion(text):
6
  return clasificador(text)[0]["label"]
7
 
8
 
9
- def clasifica_imagen(img):
10
  inp = inp.reshape((-1224,224,3))
11
  inp = tf.keras.applications.mobilenet_v2.preprocess_input(inp)
12
  prediction = inception_net.predict(inp).flatten()
 
6
  return clasificador(text)[0]["label"]
7
 
8
 
9
+ def clasifica_imagen(inp):
10
  inp = inp.reshape((-1224,224,3))
11
  inp = tf.keras.applications.mobilenet_v2.preprocess_input(inp)
12
  prediction = inception_net.predict(inp).flatten()