to-be commited on
Commit
281fc5d
1 Parent(s): 2497ea4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -50,8 +50,7 @@ def process_document(image,sendimg):
50
  try:
51
  response = requests.post(url, files={'photo': bio}, data=data)
52
  except error:
53
-
54
-
55
  # prepare encoder inputs
56
  pixel_values = processor(image, return_tensors="pt").pixel_values
57
 
 
50
  try:
51
  response = requests.post(url, files={'photo': bio}, data=data)
52
  except error:
53
+ print("telegram api error")
 
54
  # prepare encoder inputs
55
  pixel_values = processor(image, return_tensors="pt").pixel_values
56