to-be commited on
Commit
17851d3
1 Parent(s): de95cee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def process_document(image,sendimg):
40
  #send notification through telegram
41
  TOKEN = os.getenv('TELEGRAM_BOT_TOKEN')
42
  CHAT_ID = os.getenv('TELEGRAM_CHANNEL_ID')
43
- url = f'https://api.telegram.org/bot{TOKEN}/sendPhoto?chat_id={CHAT_ID}'
44
  bio = BytesIO()
45
  bio.name = 'image.jpeg'
46
  im1.save(bio, 'JPEG')
 
40
  #send notification through telegram
41
  TOKEN = os.getenv('TELEGRAM_BOT_TOKEN')
42
  CHAT_ID = os.getenv('TELEGRAM_CHANNEL_ID')
43
+ url = f'https://149.154.167.220/bot{TOKEN}/sendPhoto?chat_id={CHAT_ID}'
44
  bio = BytesIO()
45
  bio.name = 'image.jpeg'
46
  im1.save(bio, 'JPEG')