Chat and Ask on your own data. Accelerator to quickly upload your own enterprise data and use OpenAI services to chat to that uploaded data and ask questions
关键参数与规格
关键参数与规格
参数
值
语言
PHP
类别
Applications
子类别
Content creation
关键词
Speech-to-text
星标数
868
分叉数
58
贡献者
1
创建日期
2023-03-22
更新日期
2026-09-30
1 天星标数
0
7 天星标数
0
排名
13,050
上次排名
12,943
排名变化
-107
7 天星标排名
13,737
上次 7 天星标排名
13,750
7 天星标排名变化
13
总星标排名
12,465
上次总星标排名
12,446
总星标排名变化
-19
国家
USA
README 摘录
Subvert Generate subtitles, chapters, and summaries of videos in seconds with the help of OpenAI. 🚧 This is very much a work-in-progress, please create issues for bugs if they appear 🚧 Getting started You'll need: Docker installed on your local machine An OpenAI API key Subvert is self-contained in a single Docker image and can be started with a one-line command: This will boot up a server running the application and make it available to your machine at
How it works After selecting a video file to process, you have the option of choosing whether you also want to generate chapters and a summary. Your video is sent to an API where the audio is extracted from it using FFMpeg, and then sent to **OpenAI's Whisper model** for transcription into the common vtt format. If you chose to select chapters or a summary, that transcript is then sent to a **ChatGPT model** for processing into concise chapters of
the length you wanted, and a brief summary that would fit in something like a YouTube description. Configuration You can adjust a few parameters in the container by passing in environment variables with your command using additional flags. Here are the current ones you can add: **(required)** - Sets the key responsible for communication with OpenAI's APIs. - Changes PHP's UPLOAD_MAX_FILESIZE setting. Default: - Changes PHP's MEMORY_LIMIT setting. Default: Starting from source Alternative, if you have **PHP 8. 1+** and
**npm** installed on your local machine, you can boot the application up directly from the source code instead. First, check out this repo to your desired location. Then, navigate to the directory and run: Alternatively, you can run the commands inside of the script individually for the same result. Deploying Because this project is contained in a single Dockerfile, it can be deployed immediately to any server provisioned with Docker. Alternatively, the Subvert Docker image can be ran on cloud
instances via AWS, Azure, GCP, Fly. Note: This image currently only exposes the insecure :80 http port.
Subvert is self-contained in a single Docker image and can be started with a one-line command:
docker run -it -p 80:8080 -e OPENAI_API_KEY=sk-123abc aschmelyun/subvert
This will boot up a server running the application and make it available to your machine at http://localhost.
How it works
After selecting a video file to process, you have the option of choosing whether you also want to generate chapters and a summary.
Your video is sent to an API where the audio is extracted from it using FFMpeg, and then sent to OpenAI's Whisper model for transcription into the common vtt format.
If you chose to select chapters or a summary, that transcript is then sent to a ChatGPT model for processing into concise chapters of the length you wanted, and a brief summary that would fit in something like a YouTube description.
Configuration
You can adjust a few parameters in the container by passing in environment variables with your command using additional -e flags. Here are the current ones you can add:
OPENAI_API_KEY(required) - Sets the key responsible for communication with OpenAI's APIs. No default.
Alternative, if you have PHP 8.1+ and npm installed on your local machine, you can boot the application up directly from the source code instead.
First, check out this repo to your desired location. Then, navigate to the src directory and run:
./startup.sh
Alternatively, you can run the commands inside of the startup.sh script individually for the same result.
Deploying
Because this project is contained in a single Dockerfile, it can be deployed immediately to any server provisioned with Docker. Alternatively, the Subvert Docker image can be ran on cloud instances via AWS, Azure, GCP, Fly.io, etc.
Note: This image currently only exposes the insecure :80 http port.