GenSlide
GenSlide copied to clipboard
Text to PowerPoint Slide Generation using GPT LLM
trafficstars
Gen Slide
Generating PowerPoint slides extracted from a text.
How to run
Set up
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.
RUN LLM Service
- 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.
RUN UI
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.
Generate PowerPoint slides
- 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.
User Interface:

Generated slides in PowerPoint:
