Future-Tense commited on
Commit
2b463fa
·
1 Parent(s): 51fb989

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import cv2 # opencv2 package for python.
 
2
  from pytube import YouTube
3
- from torch import hub # Hub contains other models like FasterRCNN
4
 
5
  URL = "https://www.youtube.com/watch?v=dQw4w9WgXcQ" #URL to parse
6
  #play = pafy.new(_URL).streams[-1] #'-1' means read the lowest quality of video.
 
1
  import cv2 # opencv2 package for python.
2
+ import torch
3
  from pytube import YouTube
4
+ #from torch import hub # Hub contains other models like FasterRCNN
5
 
6
  URL = "https://www.youtube.com/watch?v=dQw4w9WgXcQ" #URL to parse
7
  #play = pafy.new(_URL).streams[-1] #'-1' means read the lowest quality of video.