Update app.py
Browse files
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
|