App / app.py
amirhosseinkarami's picture
Update app.py
24e96e6
raw
history blame contribute delete
172 Bytes
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()