https://github.com/deepgram/brain-upload-example
A simple system for uploading files
https://github.com/deepgram/brain-upload-example
Last synced: over 1 year ago
JSON representation
A simple system for uploading files
- Host: GitHub
- URL: https://github.com/deepgram/brain-upload-example
- Owner: deepgram
- Created: 2018-02-01T07:51:45.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-24T03:04:17.000Z (over 8 years ago)
- Last Synced: 2025-01-23T21:51:18.163Z (over 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# brain-upload-example
A simple system for uploading files
### Installation
git clone https://github.com/deepgram/brain-upload-example.git
cd brain-upload-example
pip install -e .
### Usage example
To upload a file in a directory:
cd some/directory/somewhere
brainupload -u my.userid -t my.token -s https://mycustom-brain.deepgram.com -f somefile.wav
To upload all files in a directory, go to that directory and run:
brainupload -u my.userid -t my.token -s https://mycustom-brain.deepgram.com
Or use -f to specify a location:
brainupload -u my.userid -t my.token -s https://mycustom-brain.deepgram.com -f /some/directory/*
Get the token and userid from the 'api' link on your brain instance! Files will appear in the 'My Files' page of brain instance you uploaded to.