Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,6 +12,9 @@ import openai
|
|
| 12 |
import subprocess
|
| 13 |
|
| 14 |
|
|
|
|
|
|
|
|
|
|
| 15 |
# text2ppt ν둬ννΈ μμ± ν¨μ
|
| 16 |
def generate_text2ppt_input_prompt(input_type, input_value, input_pages):
|
| 17 |
header = """
|
|
|
|
| 12 |
import subprocess
|
| 13 |
|
| 14 |
|
| 15 |
+
subprocess.run(["./pandoc-2.14.2/bin/pandoc", "text2ppt_test.md", "-t", "pdf", "-o", "output.pdf"], capture_output=True)
|
| 16 |
+
print(os.listdir(os.getcwd()))
|
| 17 |
+
|
| 18 |
# text2ppt ν둬ννΈ μμ± ν¨μ
|
| 19 |
def generate_text2ppt_input_prompt(input_type, input_value, input_pages):
|
| 20 |
header = """
|