Telegram bot takes in a photo and gives back all the text on the photo
Find a blog post on the same here
Create a .env and paste the following:
COG_SERVICE_ENDPOINT=your_azure_endpoint_goes_here
COG_SERVICE_KEY=your_azure_key_goes_here
TELEGRAM_TOKEN=your_telegram_token_goes_here
BOT_URL=your_heroku_url_goes_here
PORT=5000
pip install -r requirements.txt
Unix Bash (Linux, Mac, etc.):
export FLASK_APP=app
flask run
Windows CMD:
set FLASK_APP=app
flask run
Windows PowerShell:
$env:FLASK_APP = "app"
flask run