Engine code for an OpenAI assistant that likes to talk about AI, written using Typescript, Node.js, & the Azure stack. GPT-3 backed with a store of AI Canon documents.
GNU Affero General Public License v3.0
0
stars
1
forks
source link
Python - Fix pathnames in scripts - so they run on Windows & Unix #40
In 'youtube_pipeline.py', it uses unix style TRANSCRIPT_DESTINATION_DIR = "data/youtube".
In youtube\enrich_transcript_summaries.py it uses os.path.join, which adds a Widnows style path (when run on windows). This is invalid & creates error at runtime.
The scripts need to be changed to use Python platform independent paths.
Current code contains a mix of pathname types.
E.g.
The scripts need to be changed to use Python platform independent paths.
The same issue exists for HTML & .MD processing.