Spaces:
Runtime error
Runtime error
jonathan-roos
commited on
Commit
•
abf21b5
1
Parent(s):
d91e298
app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
from detector import bat_detector
|
3 |
|
4 |
-
|
5 |
def find_bats(input_img):
|
6 |
bats = bat_detector(input_img)
|
7 |
-
return bats + " bats found!"
|
8 |
|
9 |
iface = gr.Interface(
|
10 |
fn=find_bats,
|
|
|
1 |
import gradio as gr
|
2 |
from detector import bat_detector
|
3 |
|
|
|
4 |
def find_bats(input_img):
|
5 |
bats = bat_detector(input_img)
|
6 |
+
return f"{bats}" + " bats found!"
|
7 |
|
8 |
iface = gr.Interface(
|
9 |
fn=find_bats,
|