Spaces:
Runtime error
Runtime error
Commit
·
01cd4c0
1
Parent(s):
e101990
Update app.py
Browse files
app.py
CHANGED
@@ -17,13 +17,13 @@ def object_detection(im, size=416):
|
|
17 |
|
18 |
title = "Yolov7 Custom"
|
19 |
|
20 |
-
image = gr.inputs.Image(shape=(
|
21 |
outputs = gr.outputs.Image(type="pil", label="Output Image")
|
22 |
|
23 |
Custom_description="Custom Training Performed on colab style='text-decoration: underline' target='_blank'>Link</a> </center><br> <center>Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors </center> <br> <b>1st</b> class is for Person Detected<br><b>2nd</b> class is for Car Detected"
|
24 |
|
25 |
Footer = (
|
26 |
-
"
|
27 |
|
28 |
|
29 |
Top_Title="<center>Yolov7 🚀 Custom Trained style='text-decoration: underline' target='_blank'></center></a>Face with mask and face without mask Detection"
|
|
|
17 |
|
18 |
title = "Yolov7 Custom"
|
19 |
|
20 |
+
image = gr.inputs.Image(shape=(416,416), image_mode="RGB", source="upload", label="Upload Image", optional=False)
|
21 |
outputs = gr.outputs.Image(type="pil", label="Output Image")
|
22 |
|
23 |
Custom_description="Custom Training Performed on colab style='text-decoration: underline' target='_blank'>Link</a> </center><br> <center>Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors </center> <br> <b>1st</b> class is for Person Detected<br><b>2nd</b> class is for Car Detected"
|
24 |
|
25 |
Footer = (
|
26 |
+
"Model train on our custom dataset")
|
27 |
|
28 |
|
29 |
Top_Title="<center>Yolov7 🚀 Custom Trained style='text-decoration: underline' target='_blank'></center></a>Face with mask and face without mask Detection"
|