Spaces:
Runtime error
Runtime error
Commit
·
9ac4891
1
Parent(s):
dd61eaa
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ auth.set_access_token(access_token, access_token_secret)
|
|
| 32 |
api = tw.API(auth, wait_on_rate_limit=True)
|
| 33 |
|
| 34 |
def preprocess(text):
|
| 35 |
-
text=text.lower()
|
| 36 |
# remove hyperlinks
|
| 37 |
text = re.sub(r'https?:\/\/.*[\r\n]*', '', text)
|
| 38 |
text = re.sub(r'http?:\/\/.*[\r\n]*', '', text)
|
|
|
|
| 32 |
api = tw.API(auth, wait_on_rate_limit=True)
|
| 33 |
|
| 34 |
def preprocess(text):
|
| 35 |
+
#text=text.lower()
|
| 36 |
# remove hyperlinks
|
| 37 |
text = re.sub(r'https?:\/\/.*[\r\n]*', '', text)
|
| 38 |
text = re.sub(r'http?:\/\/.*[\r\n]*', '', text)
|