wolktm commited on
Commit
9d6a9f8
1 Parent(s): 9833080
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -13,8 +13,7 @@ def predict(img):
13
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
14
 
15
 
16
- gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(512, 512)), outputs=gr.outputs.Label(num_top_classes=3))
17
- .launch()
18
 
19
  # iface = gr.Interface(fn=greet, inputs="text", outputs="text")
20
- iface.launch()
 
13
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
14
 
15
 
16
+ gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(512, 512)), outputs=gr.outputs.Label(num_top_classes=3)).launch()
 
17
 
18
  # iface = gr.Interface(fn=greet, inputs="text", outputs="text")
19
+ # iface.launch()