Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -114,7 +114,7 @@ def text2ppt(token_key, input_prompt, input_theme):
|
|
114 |
# f"npx @marp-team/marp-cli@latest --pdf-fonts-dir=/usr/share/fonts/truetype/nanum --pdf-default-font=NanumGothic -o output.pdf text2ppt_test.md --chrome-path=/usr/bin/google-chrome-stable",
|
115 |
# shell=True)
|
116 |
|
117 |
-
subprocess.run(["./pandoc-2.14.2/bin/pandoc", "text2ppt_test.md", "-t", "pdf", "-o", "output.pdf"],
|
118 |
|
119 |
|
120 |
def ppt2script(token_key, input_file, input_type):
|
|
|
114 |
# f"npx @marp-team/marp-cli@latest --pdf-fonts-dir=/usr/share/fonts/truetype/nanum --pdf-default-font=NanumGothic -o output.pdf text2ppt_test.md --chrome-path=/usr/bin/google-chrome-stable",
|
115 |
# shell=True)
|
116 |
|
117 |
+
subprocess.run(["./pandoc-2.14.2/bin/pandoc", "text2ppt_test.md", "-t", "pdf", "-o", "output.pdf"], shell=True)
|
118 |
|
119 |
|
120 |
def ppt2script(token_key, input_file, input_type):
|