Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/HuiMi24/chatppt

ChatPPT is powered by chatgpt/ollama, it could help you to generate PPT/slide. It supports output in English and Chinese
https://github.com/HuiMi24/chatppt

Last synced: 3 months ago
JSON representation

ChatPPT is powered by chatgpt/ollama, it could help you to generate PPT/slide. It supports output in English and Chinese

Awesome Lists containing this project

README

        

# ChatPPT

ChatPPT is a tool powered by chatgpt/ollama that helps you generate PPT/slide. It supports output in English and Chinese.

## Table of Contents

- [What's New](#whats-new)
- [What is ChatPPT](#what-is-chatppt)
- [Requirements](#requirements)
- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)

## What's New

ChatPPT now supports Ollama and includes a sample UI.

![UI demo 1](ui_demo_1.png)
![UI demo 2](ui_demo_2.png)

## What is ChatPPT

ChatPPT is powered by chatgpt/ollama. It can help you generate PPT/slide in English and Chinese.

![What is GPT | 600](demo1.png)
![什么是AWS | 400](demo2.png)

## Requirements

Python 3.8.10 or higher

## Installation

### Ollama

Follow the [guide](https://ollama.com/) to install ollama

### OpenAI

Generate your OpenAI API key at

## Usage

1. Install requirements

```
pip install -r requirements.txt
```

2. Start Streamlit

```
streamlit run chatppt_ui.py
```

3. Open the Streamlit URL in your browser ()

![UI](ui.png)

> You can also use ChatPPT in the command line:

```bash
> python chatppt.py -h
usage: chatppt.py [-h] [-m {openai,ollama}] -t TOPIC [-k API_KEY] [-u OLLAMA_URL] [-o OLLAMA_MODEL] [-p PAGES] [-l {cn,en}]

I am your PPT assistant, I can help to you generate PPT.

options:
-h, --help show this help message and exit
-m {openai,ollama}, --ai_model {openai,ollama}
Select the AI model
-t TOPIC, --topic TOPIC
Your topic name
-k API_KEY, --api_key API_KEY
Your api key file path
-u OLLAMA_URL, --ollama_url OLLAMA_URL
Your ollama url
-o OLLAMA_MODEL, --ollama_model OLLAMA_MODEL
Specify the Ollama model to use
-p PAGES, --pages PAGES
How many slides to generate
-l {cn,en}, --language {cn,en}
Output language