Coder Social home page Coder Social logo

chatppt's Introduction

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

ChatPPT now supports Ollama and includes a sample UI.

UI demo 1 UI demo 2

What is ChatPPT

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

What is GPT | 600 什么是AWS | 400

Requirements

Python 3.8.10 or higher

Installation

Ollama

Follow the guide to install ollama

OpenAI

Generate your OpenAI API key at https://platform.openai.com/account/api-keys

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 (http://localhost:8501)

UI

You can also use ChatPPT in the command line:

> 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

chatppt's People

Contributors

huimi24 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.