/GPTPluginFlaskTemplate

Simple Flask Template for Running a Backend for GPT Plugins

Primary LanguagePythonApache License 2.0Apache-2.0

OpenAI GPT Plugin Backend Simple Template

Usage

  1. You need to have a domain and a SSL certificate or public IP address
  2. Clone this repo
  3. Replace all example.com in all files with your domain
  4. Install dependencies in requirements.txt
  5. Replace TEMP_AUTH_CODE in utils.py with your own auth code
  6. Run python3 main.py

Optionally:

  • Replace ./static_files with your own static files