Spaces:
Runtime error
Runtime error
Commit
·
f0ab6ad
1
Parent(s):
17f8c84
Update youtube1.py
Browse files- youtube1.py +3 -3
youtube1.py
CHANGED
|
@@ -5,10 +5,10 @@ import requests
|
|
| 5 |
#from cogscidighum import *
|
| 6 |
|
| 7 |
|
| 8 |
-
class myCelSci(Model):
|
| 9 |
-
pass
|
| 10 |
|
| 11 |
-
def getviews(link):
|
| 12 |
HEADER = {"User-Agent": 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36'}
|
| 13 |
#link = "https://youtu.be/vQUCSHUlN-k?si=FfIsODGjJDzIHOAS"
|
| 14 |
response = requests.get(link) #, headers=HEADER)
|
|
|
|
| 5 |
#from cogscidighum import *
|
| 6 |
|
| 7 |
|
| 8 |
+
#class myCelSci(Model):
|
| 9 |
+
# pass
|
| 10 |
|
| 11 |
+
def getviews(link): //add source? and for sentsummary: https://huggingface.co/themanas021
|
| 12 |
HEADER = {"User-Agent": 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36'}
|
| 13 |
#link = "https://youtu.be/vQUCSHUlN-k?si=FfIsODGjJDzIHOAS"
|
| 14 |
response = requests.get(link) #, headers=HEADER)
|