Mbonea commited on
Commit
0a11422
1 Parent(s): 41b7246
Files changed (1) hide show
  1. App/Worker.py +1 -1
App/Worker.py CHANGED
@@ -105,7 +105,7 @@ def cleanup_temp_directory(
105
  ):
106
  try:
107
  print("sending...")
108
- bot.send_video(chat_id=chat_id,caption="Your Video Caption",file_name=output_dir)
109
  # await bot.send_file(chat_id, file=output_dir, caption="Your video caption")
110
  except Exception as e:
111
  print(e)
 
105
  ):
106
  try:
107
  print("sending...")
108
+ bot.send_video(chat_id=chat_id,caption="Your Video Caption",video=output_dir)
109
  # await bot.send_file(chat_id, file=output_dir, caption="Your video caption")
110
  except Exception as e:
111
  print(e)