Upload files to "/"

This commit is contained in:
lidor 2024-06-16 15:28:29 +03:00
parent 045e8d686c
commit 2a45cf502d
2 changed files with 31 additions and 0 deletions

18
‏‏README.md Normal file
View File

@ -0,0 +1,18 @@
# Transcription with google cloud speech-to-Text API
## Features
- Transcription of local sound file with Cloud Speech-to-Text API
## Installation
1.
Create a Google Cloud account
Create a new project
Enter APIs & services
Enter IAM & ADMIN
Enter Service Accounts
Enter the existing one
Enter KEYS and create a JSON key
2.
The project needs to be installed:
pip install google-cloud-speech

13
‏‏credentials.json Normal file
View File

@ -0,0 +1,13 @@
{
"type": "service_account",
"project_id": "your_project_id",
"private_key_id": "your_private_key_id",
"private_key": "your_private_key",
"client_email": "your_client_email",
"client_id": "your_client_id",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/your_client_email",
"universe_domain": "googleapis.com"
}