Spaces:
Build error
Build error
Commit
·
d13aea6
1
Parent(s):
c37e755
Update app.py
Browse files
app.py
CHANGED
@@ -168,8 +168,8 @@ Footer = (
|
|
168 |
"<center> HuggingFace🤗 Model Deployed Repository <a href=\"https://huggingface.co/owaiskha9654/Yolov7_Custom_Object_Detection\">Link</a> <br></center>"
|
169 |
)
|
170 |
|
171 |
-
examples1=[["Image1.jpeg", "
|
172 |
|
173 |
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>"
|
174 |
|
175 |
-
gr.Interface(detect_Custom,[gr.Image(type="pil"),gr.Dropdown(default="
|
|
|
168 |
"<center> HuggingFace🤗 Model Deployed Repository <a href=\"https://huggingface.co/owaiskha9654/Yolov7_Custom_Object_Detection\">Link</a> <br></center>"
|
169 |
)
|
170 |
|
171 |
+
examples1=[["Image1.jpeg", "best"],["Image2.jpeg", "best"],["Image3.jpeg", "best",],["Image4.jpeg", "best"],["Image5.jpeg", "best"],["Image6.jpeg", "best"],["horses.jpeg", "yolov7"],["horses.jpeg", "yolov7-e6"]]
|
172 |
|
173 |
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>"
|
174 |
|
175 |
+
gr.Interface(detect_Custom,[gr.Image(type="pil"),gr.Dropdown(default="best",choices=["best","yolov7","yolov7-e6"])],gr.Image(type="pil"),title=Top_Title,examples=examples1,description=Custom_description,article=Footer,cache_examples=False).launch()
|