Spaces:
Sleeping
Sleeping
fixup logic
Browse files- app.py +4 -1
- packages.txt +2 -0
app.py
CHANGED
@@ -30,11 +30,14 @@ def run_model(video_id, outname, chunk_size):
|
|
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("
|
36 |
else:
|
37 |
print("Marp found.")
|
|
|
|
|
38 |
|
39 |
# Intermediary Markdown file
|
40 |
print("Creating Markdown file...")
|
|
|
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
|
43 |
print("Creating Markdown file...")
|
packages.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
nodejs
|
2 |
+
npm
|