Update app.py
Browse files
app.py
CHANGED
@@ -20,9 +20,9 @@ def send_to_telegram(message):
|
|
20 |
apiURL = f'https://api.telegram.org/bot{apiToken}/sendMessage'
|
21 |
try:
|
22 |
response = requests.post(apiURL, json={'chat_id': chatID, 'text': message})
|
23 |
-
print(response.text)
|
24 |
except Exception as e:
|
25 |
-
print(e)
|
26 |
|
27 |
def process_document(image):
|
28 |
#save uploaded file locally
|
|
|
20 |
apiURL = f'https://api.telegram.org/bot{apiToken}/sendMessage'
|
21 |
try:
|
22 |
response = requests.post(apiURL, json={'chat_id': chatID, 'text': message})
|
23 |
+
#print(response.text)
|
24 |
except Exception as e:
|
25 |
+
#print(e)
|
26 |
|
27 |
def process_document(image):
|
28 |
#save uploaded file locally
|