Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rmusser01 committed May 8, 2024
1 parent 4e5d085 commit 947ff8a
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ I personally recommend Sonnet, for the price, it's very nice.
Original: `YouTube contains an incredible amount of knowledge, much of which is locked inside multi-hour videos. Let's extract and summarize it with AI!`

### tl/dr: Download Videos -> Transcribe -> Summarize. Scripted.
* **Download Audio only from URL -> Transcribe audio:**
- **Download Audio only from URL -> Transcribe audio:**
* `python diarize.py https://www.youtube.com/watch?v=4nd1CDZP21s`
* **Download Audio+Video from URL -> Transcribe audio from Video:**
- **Download Audio+Video from URL -> Transcribe audio from Video:**
* `python diarize.py -v https://www.youtube.com/watch?v=4nd1CDZP21s`
* **Download Audio only from URL -> Transcribe audio -> Summarize using (`anthropic`/`cohere`/`openai`/`llama` i.e. llama.cpp/`ooba`/`kobold`/`tabby`) API:**
- **Download Audio only from URL -> Transcribe audio -> Summarize using (`anthropic`/`cohere`/`openai`/`llama` i.e. llama.cpp/`ooba`/`kobold`/`tabby`) API:**
* `python diarize.py -v https://www.youtube.com/watch?v=4nd1CDZP21s -api <your choice of API>`
* **Download Audio+Video from a list of videos in a text file (can be file paths or URLs) and have them all summarized:**
- **Download Audio+Video from a list of videos in a text file (can be file paths or URLs) and have them all summarized:**
* `python diarize.py ./local/file_on_your/system --api_name <API_name>`

### Table of Contents
Expand Down Expand Up @@ -80,15 +80,18 @@ options:
-log {DEBUG,INFO,WARNING,ERROR,CRITICAL}, --log_level {DEBUG,INFO,WARNING,ERROR,CRITICAL}
Log level (default: INFO)
>python diarize.py ./local/file_on_your/system --api_name anthropic
-
>python diarize.py https://www.youtube.com/watch?v=4nd1CDZP21s --api_name anthropic
-
>python diarize.py https://www.youtube.com/watch?v=4nd1CDZP21s --api_name openai
-
>python diarize.py https://www.youtube.com/watch?v=4nd1CDZP21s --api_name anthropic --api_key lolyearight
-
>python diarize.py https://www.youtube.com/watch?v=4nd1CDZP21s --api_name openai --api_key lolyearight
-Download Audio only from URL -> Transcribe audio:
>python diarize.py https://www.youtube.com/watch?v=4nd1CDZP21s
-Download Audio only from URL -> Transcribe audio -> Summarize using (`anthropic`/`cohere`/`openai`/`llama` i.e. llama.cpp/`ooba`/`kobold`/`tabby`) API:
>python diarize.py https://www.youtube.com/watch?v=4nd1CDZP21s -api <your choice of API>
-Download Audio+Video from URL -> Transcribe audio from Video:
>python diarize.py --video https://www.youtube.com/watch?v=4nd1CDZP21s
-Download Audio+Video from a list of videos in a text file (can be file paths or URLs) and have them all summarized:
>python diarize.py --video ./local/file_on_your/system --api_name <API_name>
By default videos, transcriptions and summaries are stored in a folder with the video's name under './Results', unless otherwise specified in the config file.
```
Expand Down

0 comments on commit 947ff8a

Please sign in to comment.