Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -109,7 +109,7 @@ def detect_objects2(model_name,url_input,image_input,threshold,type2):
|
|
| 109 |
if det_lab.count(4) > 0:
|
| 110 |
total_text+="Measuring Tape (Vertical) for measuring Depth is Detected \n"
|
| 111 |
else:
|
| 112 |
-
total_text+="Measuring Tape (Vertical) for measuring Depth is NOT Detected \n
|
| 113 |
if type2=="Trench Depth Measurement":
|
| 114 |
xxresult=1
|
| 115 |
|
|
|
|
| 109 |
if det_lab.count(4) > 0:
|
| 110 |
total_text+="Measuring Tape (Vertical) for measuring Depth is Detected \n"
|
| 111 |
else:
|
| 112 |
+
total_text+="Measuring Tape (Vertical) for measuring Depth is NOT Detected \n"
|
| 113 |
if type2=="Trench Depth Measurement":
|
| 114 |
xxresult=1
|
| 115 |
|