to-be commited on
Commit
385c0c8
·
1 Parent(s): bac4f40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def process_document(image):
20
 
21
  #send notification through telegram
22
  bot = Bot(os.getenv('TELEGRAM_BOT_TOKEN'))
23
- bot.send_message('OK')
24
 
25
  # prepare encoder inputs
26
  pixel_values = processor(image, return_tensors="pt").pixel_values
 
20
 
21
  #send notification through telegram
22
  bot = Bot(os.getenv('TELEGRAM_BOT_TOKEN'))
23
+ await bot.send_message('OK')
24
 
25
  # prepare encoder inputs
26
  pixel_values = processor(image, return_tensors="pt").pixel_values