Intro
In [1]:
Copied!
import convert2ppt
from convert2ppt.generate_json import generate_json
from convert2ppt.load_pdfs import load_pdfs
from convert2ppt.generate_ppt import create_presentations
import sys
def main():
print("Welcome to convert2ppt!")
# Generate text content from PDFs
data_dir = r".\data"
load_pdfs(data_dir)
# Generate JSON content from text content
generate_json(data_dir)
# Generate PowerPoint presentations from JSON content
create_presentations(data_dir)
import convert2ppt
from convert2ppt.generate_json import generate_json
from convert2ppt.load_pdfs import load_pdfs
from convert2ppt.generate_ppt import create_presentations
import sys
def main():
print("Welcome to convert2ppt!")
# Generate text content from PDFs
data_dir = r".\data"
load_pdfs(data_dir)
# Generate JSON content from text content
generate_json(data_dir)
# Generate PowerPoint presentations from JSON content
create_presentations(data_dir)
Running normally... config_path: /opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/convert2ppt/config.yaml Loading configuration file...