Generating PowerPoint slides extracted from a text.
Clone the repo:
git clone http://github.com/mehdimo/GenSlide
cd GenSlide
then, create a virtual environment and install packages.
python -m venv ./venv
. ./venv/bin/activate
pip install -r requirements.txt
- Note: Use a Python != 3.9.7 for virtualenv.
streamlitwon't work in that version. The version here is3.12. - We used
gpt4llpackage to run a LLM server on a local machine. To learn more about gpt4all, see here.
- Go to
llm-servicefolder and run thegpt.pyfile.
cd llm-service
python gpt.py
- Running for the first time, the LLM model will be downloaded which may take several minutes.
Navigate to fronend folder and run ui.py using streamlit command:
cd ..
cd frontend
streamlit run ui.py
It will open the UI in the browser.
- In the UI's textbox, write the text that you want to create presentation based on it. You may use the text in file
content.txtindatafolder. - The generated
.pptxfile will be stored in thefrontend/generatedfolder.

