jonathan-roos's picture
Added changes to app.py
f3e9e57
raw
history blame
268 Bytes
import gradio as gr
from detector import bat_detector
def find_bats(input_img):
bats = bat_detector(input_img)
return bats + " bats found!"
iface = gr.Interface(
fn=find_bats,
inputs=gr.Image(shape=(640, 512)),
outputs='text'
)
iface.launch()