zman1x1 commited on
Commit
111b62e
·
unverified ·
1 Parent(s): e5ec50a

fixup logic

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