This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user www-data; | |
worker_processes auto; | |
pid /run/nginx.pid; | |
events { | |
worker_connections 768; | |
# multi_accept on; | |
} | |
http { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Simple Flask application to demonstrate the Google Speech API usage. | |
Install the requirements first: | |
`pip install SpeechRecognition flask` | |
Then just run this file, go to http://127.0.0.1:5000/ | |
and upload an audio (or may be even video) file there, using the html form. | |
(I've tested it with a .wav file only - relying on Google here). |
OlderNewer