Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -56,15 +56,20 @@ with demo:
|
|
56 |
[
|
57 |
gr.Textbox(placeholder="Your text input"),
|
58 |
gr.Dropdown(
|
59 |
-
["finiteautomata/bertweet-base-sentiment-analysis", "vader"
|
|
|
60 |
),
|
61 |
],
|
62 |
"label",
|
63 |
examples=[
|
64 |
["Happy smile", "vader"],
|
65 |
["Happy smile", "finiteautomata/bertweet-base-sentiment-analysis"],
|
|
|
|
|
66 |
["Sad frown", "vader"],
|
67 |
["Sad frown", "finiteautomata/bertweet-base-sentiment-analysis"],
|
|
|
|
|
68 |
]
|
69 |
)
|
70 |
|
|
|
56 |
[
|
57 |
gr.Textbox(placeholder="Your text input"),
|
58 |
gr.Dropdown(
|
59 |
+
["finiteautomata/bertweet-base-sentiment-analysis", "vader",
|
60 |
+
"custom logistic regression", "custom BERT"], label="Model"
|
61 |
),
|
62 |
],
|
63 |
"label",
|
64 |
examples=[
|
65 |
["Happy smile", "vader"],
|
66 |
["Happy smile", "finiteautomata/bertweet-base-sentiment-analysis"],
|
67 |
+
["Happy smile", "custom logistic regression"],
|
68 |
+
["Happy smile", "custom BERT"],
|
69 |
["Sad frown", "vader"],
|
70 |
["Sad frown", "finiteautomata/bertweet-base-sentiment-analysis"],
|
71 |
+
["Sad frown", "custom logistic regression"],
|
72 |
+
["Sad frown", "custom BERT"],
|
73 |
]
|
74 |
)
|
75 |
|