Ignahugging commited on
Commit
ca93fdc
·
1 Parent(s): 2dca684

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def classifier(image):
12
  texto = str(f'Predicted label: {classes[(np.argmax(pred_img))]}')
13
  return texto
14
 
15
- interface = gr.Interface(classifier,gr.inputs.Image(shape=(1024,1024)),outputs = "text",
16
  description="classifier of images of daisy plants, dandelion, roses, sunflowers, and tulips",
17
  title="Flower image classifier")
18
  interface.launch()
 
12
  texto = str(f'Predicted label: {classes[(np.argmax(pred_img))]}')
13
  return texto
14
 
15
+ interface = gr.Interface(classifier,gr.inputs.Image(shape=(180,180)),outputs = "text",
16
  description="classifier of images of daisy plants, dandelion, roses, sunflowers, and tulips",
17
  title="Flower image classifier")
18
  interface.launch()