Commit
Β·
0fb0ec3
1
Parent(s):
0bd1ff7
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def object_detection(image: gr.inputs.Image = None):
|
|
26 |
return Image.fromarray(results.imgs[0]),'No object Found. Add more Custom classes in the training set'
|
27 |
|
28 |
|
29 |
-
title = "Yolov7 Custom"
|
30 |
|
31 |
# image = gr.inputs.Image(shape=(640, 640), image_mode="RGB", source="upload", label="Upload Image", optional=False)
|
32 |
|
@@ -75,7 +75,7 @@ Footer = (
|
|
75 |
|
76 |
examples1=[["Images/Image1.jpg"],["Images/Image2.jpg"],["Images/Image3.jpg"],["Images/Image4.jpg"],["Images/Image5.jpg"],["Images/Image6.jpg"],["Images/Image7.jpg"],["Images/Image8.jpg"],["Images/Image9.jpg"],["Images/Image10.jpg"],["Images/Image11.jpg"],["Images/Image12.jpg"],["Images/Image13.jpg"],["Images/Image14.jpg"],["Images/Image15.jpg"],["Images/Image16.jpg"],["Images/Image17.jpg"],["Images/Image18.jpg"],["Images/Image19.jpg"],["Images/Image20.jpg"]]
|
77 |
|
78 |
-
Top_Title="Yolov7 π Custom Trained by <a href='https://www.linkedin.com/in/owaiskhan9654/' style='text-decoration: underline' target='_blank'>Owais Ahmad </center></a> on around 140 general items in Stores"
|
79 |
css = ".output-image, .input-image {height: 50rem !important; width: 100% !important;}"
|
80 |
css = ".image-preview {height: auto !important;}"
|
81 |
|
|
|
26 |
return Image.fromarray(results.imgs[0]),'No object Found. Add more Custom classes in the training set'
|
27 |
|
28 |
|
29 |
+
title = "<center><a href=\"https://thoucentric.com/\"><img src='https://thoucentric.com/wp-content/themes/cevian-child/assets/img/Thoucentric-Logo.png' alt='Thoucentric-Logo'></a></center><br>Yolov7 Custom"
|
30 |
|
31 |
# image = gr.inputs.Image(shape=(640, 640), image_mode="RGB", source="upload", label="Upload Image", optional=False)
|
32 |
|
|
|
75 |
|
76 |
examples1=[["Images/Image1.jpg"],["Images/Image2.jpg"],["Images/Image3.jpg"],["Images/Image4.jpg"],["Images/Image5.jpg"],["Images/Image6.jpg"],["Images/Image7.jpg"],["Images/Image8.jpg"],["Images/Image9.jpg"],["Images/Image10.jpg"],["Images/Image11.jpg"],["Images/Image12.jpg"],["Images/Image13.jpg"],["Images/Image14.jpg"],["Images/Image15.jpg"],["Images/Image16.jpg"],["Images/Image17.jpg"],["Images/Image18.jpg"],["Images/Image19.jpg"],["Images/Image20.jpg"]]
|
77 |
|
78 |
+
Top_Title="<center><a href=\"https://thoucentric.com/\"><img src='https://thoucentric.com/wp-content/themes/cevian-child/assets/img/Thoucentric-Logo.png' alt='Thoucentric-Logo'></a></center><br>Yolov7 π Custom Trained by <a href='https://www.linkedin.com/in/owaiskhan9654/' style='text-decoration: underline' target='_blank'>Owais Ahmad </center></a> on around 140 general items in Stores"
|
79 |
css = ".output-image, .input-image {height: 50rem !important; width: 100% !important;}"
|
80 |
css = ".image-preview {height: auto !important;}"
|
81 |
|