Spaces:
Runtime error
Runtime error
CognitiveScience
commited on
Commit
·
d2cbbd5
1
Parent(s):
71ff2c6
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=getresult("hello world")[0] #+ getviews(link)
|
15 |
|
16 |
return response #result #soup.prettify()
|
17 |
|
|
|
11 |
# pass
|
12 |
|
13 |
def main(link):
|
14 |
+
response=getresult("hello world")[0]["label"] #+ getviews(link)
|
15 |
|
16 |
return response #result #soup.prettify()
|
17 |
|