Spaces:
Runtime error
Runtime error
ananthujay
commited on
Commit
·
f25fd11
1
Parent(s):
b33fae6
Update app.py
Browse files
app.py
CHANGED
@@ -9,3 +9,5 @@ def scoring(text):
|
|
9 |
score = results[0]['score'] # Get the sentiment score
|
10 |
return f"Sentiment: {sentiment}, Score: {score}"
|
11 |
|
|
|
|
|
|
9 |
score = results[0]['score'] # Get the sentiment score
|
10 |
return f"Sentiment: {sentiment}, Score: {score}"
|
11 |
|
12 |
+
iface = gr.Interface(fn=scoring, inputs="text", outputs="text")
|
13 |
+
iface.launch()
|