Metadata-Version: 2.1
Name: slide-gpt
Version: 0.2.1
Summary: CLI tool for generating slides from text using ChatGPT and DALL-E
Author: Alex Jercan
Author-email: jercan_alex27@yahoo.com
Requires-Python: >=3.10,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: fakeyou (>=1.2.5,<2.0.0)
Requires-Dist: ffmpeg-python (>=0.2.0,<0.3.0)
Requires-Dist: mypy (>=1.5.1,<2.0.0)
Requires-Dist: openai (>=0.27.8,<0.28.0)
Requires-Dist: tqdm (>=4.66.1,<5.0.0)
Requires-Dist: wave (>=0.0.2,<0.0.3)
Description-Content-Type: text/markdown

# SlideGPT

CLI tool that can be used to generate a video using ChatGPT, DALLE-2 and
FakeYou.

### Dependencies

- [ffmpeg](https://ffmpeg.org/)

### Quickstart

To run the cli application locally you will need `ffmpeg` installed. Also make
sure to export your api key.

```console
sudo apt install ffmpeg
curl -sSL https://install.python-poetry.org | python3 -
export OPENAI_API_KEY=sk-...
export FAKEYOU_USERNAME=...
export FAKEYOU_PASSWORD=...
poetry install
echo "Please create a presentation about sunflowers." | poetry run slide-gpt
mpv videos/0/video.mp4
```

You can also change the speaker of the video using the `--speaker` flag with a
string taken from the [FakeYou](https://fakeyou.com/) website.

