0llheaven commited on
Commit
dfeff47
·
verified ·
1 Parent(s): e2f4f69

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def predict(image):
38
  return None, "No detected"
39
 
40
  pil_image = Image.fromarray(cv2.cvtColor(image, cv2.COLOR_BGR2RGB))
41
- message = ", ".join(labels_found)
42
  return pil_image, message
43
 
44
  demo = gr.Interface(fn=predict,
 
38
  return None, "No detected"
39
 
40
  pil_image = Image.fromarray(cv2.cvtColor(image, cv2.COLOR_BGR2RGB))
41
+ message = "\n".join(labels_found)
42
  return pil_image, message
43
 
44
  demo = gr.Interface(fn=predict,