Commit
·
8a89a2a
1
Parent(s):
9724286
changed calling function
Browse files
app.py
CHANGED
@@ -13,4 +13,4 @@ def sentiment(text):
|
|
13 |
|
14 |
input_text = gr.inputs.Textbox(label="Enter text here to be classified:")
|
15 |
label = gr.outputs.Label(num_top_classes=2)
|
16 |
-
gr.Interface(fn=
|
|
|
13 |
|
14 |
input_text = gr.inputs.Textbox(label="Enter text here to be classified:")
|
15 |
label = gr.outputs.Label(num_top_classes=2)
|
16 |
+
gr.Interface(fn=sentiment, inputs=input_text, outputs=label,title = 'Sentiment-Analysis').launch()
|