Spaces:
Runtime error
Runtime error
CognitiveScience
commited on
Commit
•
f2827dd
1
Parent(s):
cbd2dc3
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ import math
|
|
12 |
# pass
|
13 |
|
14 |
def main(link):
|
15 |
-
response=getviews(link)+getresult("hello world")[0]["label"] + str(math.trunc(getresult("hello world")[0]["score"]))
|
16 |
return response #result #soup.prettify()
|
17 |
|
18 |
|
|
|
12 |
# pass
|
13 |
|
14 |
def main(link):
|
15 |
+
response=getviews(link)+getresult("hello world")[0]["label"] + str(math.trunc(getresult("hello world")[0]["score"])*100/100)
|
16 |
return response #result #soup.prettify()
|
17 |
|
18 |
|