Spaces:
Runtime error
Runtime error
Commit
·
e781dad
1
Parent(s):
0eb826d
chaging secod image to pil
Browse files
app.py
CHANGED
@@ -181,4 +181,4 @@ examples1=[["Image1.jpeg", "Yolo_v7_Custom_trained_By_Owais"],["Image2.jpeg", "Y
|
|
181 |
Top_Title="<center>Intelligent Image to Text - IIT </center></a>"
|
182 |
|
183 |
css = ".output-image, .input-image, .image-preview {height: 300px !important}"
|
184 |
-
gr.Interface(detect_Custom,[gr.Image(type="pil"),gr.Dropdown(default="Yolo_v7_Custom_trained_By_Owais",choices=["Yolo_v7_Custom_trained_By_Owais","yolov7","yolov7-e6"]),gr.Image(type="
|
|
|
181 |
Top_Title="<center>Intelligent Image to Text - IIT </center></a>"
|
182 |
|
183 |
css = ".output-image, .input-image, .image-preview {height: 300px !important}"
|
184 |
+
gr.Interface(detect_Custom,[gr.Image(type="pil"),gr.Dropdown(default="Yolo_v7_Custom_trained_By_Owais",choices=["Yolo_v7_Custom_trained_By_Owais","yolov7","yolov7-e6"]),gr.Image(type="filepath")],[gr.Image(type="pil"),gr.Image(type="pil")],css=css,title=Top_Title,examples=examples1,description=Custom_description,article=Footer,cache_examples=False).launch()
|