zman1x1 commited on
Commit
67f56fe
·
unverified ·
1 Parent(s): 52085a2

fixup logic

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -30,13 +30,11 @@ def run_model(video_id, outname, chunk_size):
30
  import os
31
 
32
  # check for marp command
33
- print(os.system("command -v marp"))
34
- if not os.system("command -v marp >> /dev/null"):
35
  print("Marp not found. Please install marp-cli.")
36
  os.system("bash setup.sh")
37
  else:
38
  print("Marp found.")
39
- print(os.system("command -v marp"))
40
 
41
 
42
  # Intermediary Markdown file
 
30
  import os
31
 
32
  # check for marp command
33
+ if os.system("command -v marp >> /dev/null") != 0:
 
34
  print("Marp not found. Please install marp-cli.")
35
  os.system("bash setup.sh")
36
  else:
37
  print("Marp found.")
 
38
 
39
 
40
  # Intermediary Markdown file