- cd copyai
- pip install -r requirements.txt
- edit copyai/settings.py
- add
localhost
toALLOWED_HOSTS
- set
DEBUG = True
- add
- python3 manage.py runserver 0.0.0.0:5000 (or any port)
Set content type and send a YT short-code or a full YT URL as the payload
POST http://localhost:5000/text
Content-Type: application/json
{
"link": "Kjt_EDgFlkk"
}
heroku restart -a copy-ai-yt-transcriber
heroku logs -t -a copy-ai-yt-transcriber