cxeep commited on
Commit
a8363ce
·
verified ·
1 Parent(s): e25f3ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -12,7 +12,6 @@ os.system(f"chmod a+x {BIN}")
12
  os.system(f"{BIN} -h")
13
  # os.system("ldd ./yolov5s-tt100k-static.bin")
14
  def run_yolov5s(image_filepath):
15
- os.system(f"{BIN} -h")
16
  result = subprocess.run([BIN, "-m", "./yolov5s_tt100k_opt_fp32.tmfile", "-i", image_filepath], capture_output=True, text=True)
17
  print(result.stdout)
18
  return "yolov5s-tt100k.out.jpg", result.stdout
 
12
  os.system(f"{BIN} -h")
13
  # os.system("ldd ./yolov5s-tt100k-static.bin")
14
  def run_yolov5s(image_filepath):
 
15
  result = subprocess.run([BIN, "-m", "./yolov5s_tt100k_opt_fp32.tmfile", "-i", image_filepath], capture_output=True, text=True)
16
  print(result.stdout)
17
  return "yolov5s-tt100k.out.jpg", result.stdout