Update app.py
Browse files
app.py
CHANGED
@@ -67,9 +67,9 @@ def sentiment_analysis(sentence, template, positive, neutral, negative):
|
|
67 |
demo = gr.Interface(fn=sentiment_analysis,
|
68 |
inputs = [gr.Textbox(placeholder="Enter sentence here.",label="sentence"),
|
69 |
gr.Textbox(placeholder="Your template must have a [SENTENCE] token and a [MASK] token.",label="template"),
|
70 |
-
gr.Textbox(placeholder="Separate words with Spaces.",label="positive"),
|
71 |
-
gr.Textbox(placeholder="Separate words with Spaces.",label="neutral"),
|
72 |
-
gr.Textbox(placeholder="Separate words with Spaces.",label="negative")
|
73 |
],
|
74 |
outputs="text")
|
75 |
|
|
|
67 |
demo = gr.Interface(fn=sentiment_analysis,
|
68 |
inputs = [gr.Textbox(placeholder="Enter sentence here.",label="sentence"),
|
69 |
gr.Textbox(placeholder="Your template must have a [SENTENCE] token and a [MASK] token.",label="template"),
|
70 |
+
gr.Textbox(placeholder="Separate words with Spaces.",label="positive label words"),
|
71 |
+
gr.Textbox(placeholder="Separate words with Spaces.",label="neutral label words"),
|
72 |
+
gr.Textbox(placeholder="Separate words with Spaces.",label="negative label words")
|
73 |
],
|
74 |
outputs="text")
|
75 |
|