Spaces:
Running
Running
fixup logic
Browse files
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 |
-
|
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
|