SPACERUNNER99 commited on
Commit
8e34222
·
verified ·
1 Parent(s): e129053

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -33,6 +33,7 @@ def download_video(url):
33
  for chunk in response.iter_content(chunk_size=8192):
34
  if chunk:
35
  file.write(chunk)
 
36
  print(f"Downloaded successfully")
37
  return "video.mp4"
38
 
 
33
  for chunk in response.iter_content(chunk_size=8192):
34
  if chunk:
35
  file.write(chunk)
36
+ file.close()
37
  print(f"Downloaded successfully")
38
  return "video.mp4"
39