Spaces:
Sleeping
Sleeping
thanhson28
commited on
Commit
•
b32fb8d
1
Parent(s):
eb92b07
Update app.py
Browse files
app.py
CHANGED
@@ -150,7 +150,7 @@ if __name__ == "__main__":
|
|
150 |
person_detector_gr = gr.Interface(
|
151 |
fn=detect_objects,
|
152 |
inputs=[
|
153 |
-
gr.Image(type="
|
154 |
width=800, height=480),
|
155 |
gr.Slider(label="Detection Threshold",
|
156 |
minimum=0, maximum=1, step=0.01, value=0.3),
|
|
|
150 |
person_detector_gr = gr.Interface(
|
151 |
fn=detect_objects,
|
152 |
inputs=[
|
153 |
+
gr.Image(type="str", label="Drop Image",
|
154 |
width=800, height=480),
|
155 |
gr.Slider(label="Detection Threshold",
|
156 |
minimum=0, maximum=1, step=0.01, value=0.3),
|