Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ with tab1:
|
|
35 |
st.markdown(contents)
|
36 |
|
37 |
# ํ
์คํธ
|
38 |
-
test_ppt_theme = "--reference-doc="+"/home/user/app/blue"+".pptx"
|
39 |
subprocess.run(["/home/user/app/pandoc-2.14.2/bin/pandoc", "text2ppt_test.md", "-t", "pptx", test_ppt_theme, "-o", "output.pptx"], capture_output=True)
|
40 |
print(os.listdir(os.getcwd()))
|
41 |
prs = Presentation("output.pptx")
|
|
|
35 |
st.markdown(contents)
|
36 |
|
37 |
# ํ
์คํธ
|
38 |
+
test_ppt_theme = "--reference-doc="+"/home/user/app/template/blue"+".pptx"
|
39 |
subprocess.run(["/home/user/app/pandoc-2.14.2/bin/pandoc", "text2ppt_test.md", "-t", "pptx", test_ppt_theme, "-o", "output.pptx"], capture_output=True)
|
40 |
print(os.listdir(os.getcwd()))
|
41 |
prs = Presentation("output.pptx")
|