Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ DETR model finetuned on "anindya64/hardhat" for hard hats detection.
|
|
37 |
|
38 |
demo = gr.Interface(
|
39 |
fn=predict,
|
40 |
-
inputs=gr.Image(
|
41 |
outputs="image",
|
42 |
title=title,
|
43 |
description=description
|
|
|
37 |
|
38 |
demo = gr.Interface(
|
39 |
fn=predict,
|
40 |
+
inputs=gr.Image(label="Input Image", type="numpy"),
|
41 |
outputs="image",
|
42 |
title=title,
|
43 |
description=description
|