Skip to content

🚀 blah is audio analyzer api to allow call centers to extract information about their customers easily. it can be easily extended to more phone providers and more analyzers can be implemented if needed.

License

Notifications You must be signed in to change notification settings

stone-payments/blah

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blah

Blah.

Virtual environment

Setting up the virtual environment

python3 -m venv venv

Using the virtual environment

To activate on UNIX-based systems: source venv/bin/activate. To deactivate: deactivate.

Requirements

pip install -r requirements.txt

Authentication

Authentication is typically done through Application Default Credentials which means you do not have to change the code to authenticate as long as your environment has credentials. You have a few options for setting up authentication:

Running locally

Use the Google Cloud SDK gcloud auth application-default login.

Running on App Engine or Compute Engine

Credentials are already set-up. However, you may need to configure your Compute Engine instance with additional scopes

Environment variable

You can create a Service Account key file. This file can be used to authenticate to Google Cloud Platform services from any environment. To use the file, set the GOOGLE_APPLICATION_CREDENTIALS environment variable to the path to the key file, for example:

export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service_account.json

Running the project

python src/run.py

Recording a sample audio

arecord -f S16_LE -c1 -r16000 filaname.wav

About

🚀 blah is audio analyzer api to allow call centers to extract information about their customers easily. it can be easily extended to more phone providers and more analyzers can be implemented if needed.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published