An open API service indexing awesome lists of open source software.

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

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.