Spaces:
Running
Running
Commit
•
cb954d4
1
Parent(s):
432a61a
Update songscope.py
Browse files- songscope.py +3 -2
songscope.py
CHANGED
@@ -1,13 +1,14 @@
|
|
1 |
import pandas as pd
|
2 |
import requests
|
|
|
3 |
from bs4 import BeautifulSoup
|
4 |
import time
|
5 |
import random
|
6 |
import Levenshtein
|
7 |
import nltk
|
8 |
-
nltk.download("vader_lexicon")
|
9 |
-
from nltk.sentiment import SentimentIntensityAnalyzer
|
10 |
import azapi
|
|
|
|
|
11 |
|
12 |
def random_delay(min_val: float, max_val: float, print_delay: bool = False):
|
13 |
"""
|
|
|
1 |
import pandas as pd
|
2 |
import requests
|
3 |
+
!pip install bs4
|
4 |
from bs4 import BeautifulSoup
|
5 |
import time
|
6 |
import random
|
7 |
import Levenshtein
|
8 |
import nltk
|
|
|
|
|
9 |
import azapi
|
10 |
+
from nltk.sentiment import SentimentIntensityAnalyzer
|
11 |
+
nltk.download("vader_lexicon")
|
12 |
|
13 |
def random_delay(min_val: float, max_val: float, print_delay: bool = False):
|
14 |
"""
|