Spaces:
Runtime error
Runtime error
Update app.py
Browse files11 unmodified lines1213141516171811 unmodified linespred, idx, prob = learn.predict(img)return dict(zip(actors, map(float, prob)))image = gr.Image(height=192, width= 192)label = gr.Label()examples = ['rajini.jpg', 'vijay.jpg', 'raka.jpeg', 'ajith.jpeg']intf = gr.Interface(fn = classify_images, inputs = image, outputs=label, examples=examples)11 unmodified lines1213141516171811 unmodified linespred, idx, prob = learn.predict(img)return dict(zip(actors, map(float, prob)))image = gr.Image()label = gr.Label()examples = ['rajini.jpg', 'vijay.jpg', 'raka.jpeg', 'ajith.jpeg']intf = gr.Interface(fn = classify_images, inputs = image, outputs=label, examples=examples)
app.py+1-1