gatesla commited on
Commit
85bef98
1 Parent(s): 63de4fe

Fixed python + sign

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -78,11 +78,11 @@ def detect_objects(model_name,url_input,image_input,threshold):
78
  final_str_else = ""
79
 
80
  for r in results:
81
- final_str_abv =+ str(r.boxes) + "__" + str(r.boxes.xyxy) + "__" + str(r.boxes.conf) + "\n"
82
  # if r.boxes.conf >= threshold:
83
- # final_str_abv =+ str(r.boxes) + "\n"
84
  # else:
85
- # final_str_else =+ str(r.boxes) + "\n"
86
 
87
  final_str = "{:*^50}\n".format("ABOVE THRESHOLD OR EQUAL") + final_str_abv + "\n{:*^50}\n".format("BELOW THRESHOLD")+final_str_else
88
 
 
78
  final_str_else = ""
79
 
80
  for r in results:
81
+ final_str_abv += str(r.boxes) + "__" + str(r.boxes.xyxy) + "__" + str(r.boxes.conf) + "\n"
82
  # if r.boxes.conf >= threshold:
83
+ # final_str_abv += str(r.boxes) + "\n"
84
  # else:
85
+ # final_str_else += str(r.boxes) + "\n"
86
 
87
  final_str = "{:*^50}\n".format("ABOVE THRESHOLD OR EQUAL") + final_str_abv + "\n{:*^50}\n".format("BELOW THRESHOLD")+final_str_else
88