Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/HuiMi24/chatppt
- Owner: HuiMi24
- Created: 2023-03-31T12:15:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-21T10:04:13.000Z (7 months ago)
- Last Synced: 2024-06-14T01:56:40.564Z (5 months ago)
- Language: Python
- Homepage:
- Size: 298 KB
- Stars: 158
- Watchers: 1
- Forks: 34
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- StarryDivineSky - HuiMi24/chatppt
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