from fastai.vision.all import * import gradio as gr #image = gr.inputs.Image(shape=(192, 192)) #label = gr.outputs.Label(num_top_classes=5) examples = ['carolina.jpg','abb.jpg','lady.jpg','mantis.jpg','monarch.jpg','western striped cucumber.jpg','carolina2.jpg', 'large milkweed bug.jpg', 'twice-stabbed.jpg', 'viceroy.jpg', 'lubber.jpg', 'GrashopperAulocaraElliotti958.webp'] intf = gr.load(src='models',name='flobbit/ohbugger2k/', #examples=examples, title="Oh! Bugger! 2k", description="Trained on 130133 images over 2000 North American species using ResNet18. Provide an image or select from one below." ) intf.launch()