maviced commited on
Commit
cf70c87
·
verified ·
1 Parent(s): 7526516

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,4 +14,4 @@ def predict(img):
14
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
15
 
16
  # Creamos la interfaz y la lanzamos.
17
- gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(128, 128)), outputs=gr.outputs.Label(num_top_classes=4),examples=['10000.png','10007.png']).launch()
 
14
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
15
 
16
  # Creamos la interfaz y la lanzamos.
17
+ gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(128, 128)), outputs=gr.outputs.Label(num_top_classes=4),examples=['10000.jpg','10007.jpg']).launch()