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