Spaces:
Runtime error
Runtime error
michaelwja
commited on
Commit
•
59c8457
1
Parent(s):
97e91df
Update app.py
Browse files
app.py
CHANGED
@@ -20,16 +20,11 @@ title = "Yolov7 Skin Burn Detection"
|
|
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 |
-
|
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"
|
30 |
-
css = ".output-image, .input-image {height: 50rem !important; width: 100% !important;}"
|
31 |
-
css = ".image-preview {height: auto !important;}"
|
32 |
-
|
33 |
gr.Interface(
|
34 |
fn=object_detection,
|
35 |
inputs=image,
|
|
|
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 |
|
24 |
+
Top_Title="Yolov7 Skin Burn Detection | 基于Yolov7的深度学习皮肤烧伤检测模型"
|
25 |
+
Custom_description="Upload Any Burn Image to Begin. Made by Michael.W"
|
26 |
|
27 |
|
|
|
|
|
|
|
|
|
28 |
gr.Interface(
|
29 |
fn=object_detection,
|
30 |
inputs=image,
|