Spaces:
Runtime error
Runtime error
CognitiveScience
commited on
Commit
·
8cf4da3
1
Parent(s):
d2cbbd5
Update app.py
Browse files
app.py
CHANGED
@@ -11,8 +11,7 @@ from textsentiment import getresult
|
|
11 |
# pass
|
12 |
|
13 |
def main(link):
|
14 |
-
response=getresult("hello world")[0]["label"]
|
15 |
-
|
16 |
return response #result #soup.prettify()
|
17 |
|
18 |
|
|
|
11 |
# pass
|
12 |
|
13 |
def main(link):
|
14 |
+
response=getviews(link)+getresult("hello world")[0]["label"] + getresult("hello world")[0]["score"]
|
|
|
15 |
return response #result #soup.prettify()
|
16 |
|
17 |
|