Spaces:
Sleeping
Sleeping
Commit
•
84c27ef
1
Parent(s):
0fecd61
Update app.py
Browse files
app.py
CHANGED
@@ -20,14 +20,21 @@ title = "Yolov7 Custom"
|
|
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
|
24 |
|
25 |
Footer = (
|
26 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
examples1=[["Image1.jpeg"],["Image2.jpeg"],["Image3.jpeg"],["Image4.jpeg"],["Image5.jpeg"],["Image6.jpeg"],["horses.jpeg"],["horses.jpeg"]]
|
29 |
|
30 |
-
Top_Title="<center>Yolov7 🚀 Custom Trained style='text-decoration: underline' target='_blank'
|
31 |
css = ".output-image, .input-image {height: 50rem !important; width: 100% !important;}"
|
32 |
css = ".image-preview {height: auto !important;}"
|
33 |
|
|
|
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="<center>Custom Training Performed on Kaggle <a href='https://www.kaggle.com/code/owaiskhan9654/training-yolov7-on-kaggle-on-custom-dataset/notebook' 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 |
+
"<center>Model Trained by: Owais Ahmad Data Scientist at <b> Thoucentric </b> <a href=\"https://www.linkedin.com/in/owaiskhan9654/\">Visit Profile</a> <br></center>"
|
27 |
+
|
28 |
+
"<center> Model Trained Kaggle Kernel <a href=\"https://www.kaggle.com/code/owaiskhan9654/training-yolov7-on-kaggle-on-custom-dataset/notebook\">Link</a> <br></center>"
|
29 |
+
|
30 |
+
"<center> Kaggle Profile <a href=\"https://www.kaggle.com/owaiskhan9654\">Link</a> <br> </center>"
|
31 |
+
|
32 |
+
"<center> HuggingFace🤗 Model Deployed Repository <a href=\"https://huggingface.co/owaiskha9654/Yolov7_Custom_Object_Detection\">Link</a> <br></center>"
|
33 |
+
)
|
34 |
|
35 |
examples1=[["Image1.jpeg"],["Image2.jpeg"],["Image3.jpeg"],["Image4.jpeg"],["Image5.jpeg"],["Image6.jpeg"],["horses.jpeg"],["horses.jpeg"]]
|
36 |
|
37 |
+
Top_Title="<center>Yolov7 🚀 Custom Trained by <a href='https://www.linkedin.com/in/owaiskhan9654/' style='text-decoration: underline' target='_blank'>Owais Ahmad </center></a>🚗Car and 👦Person Detection"
|
38 |
css = ".output-image, .input-image {height: 50rem !important; width: 100% !important;}"
|
39 |
css = ".image-preview {height: auto !important;}"
|
40 |
|