Spaces:
Sleeping
Sleeping
File size: 172 Bytes
03e6add |
1 2 3 4 5 6 7 |
import gradio as gr
def image_classifier(inp):
return {'cat': 0.3, 'dog': 0.7}
demo = gr.Interface(fn=image_classifier, inputs="image", outputs="label")
demo.launch() |