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