Spaces:
Runtime error
Runtime error
suck my long wiener
Browse filesFiles changed (2)
- app.py+2-2
- requirements.txt+1-2
8 unmodified lines91011121312131415168 unmodified lines pred,idx,probs = learn.predict(img) return dict(zip(categories, map(float,probs)))
image = gr.inputs.Image(shape=(192, 192))label = gr.outputs.Label()image = gr.components.Image(shape=(192, 192))label = gr.components.Label()examples = ["deutschland.jpg", "italien.jpg" "türkei.jpg", "singapur.jpg"]
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)121fastaigradio==3.50fastaiapp.py+2-2
requirements.txt+1-2