Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,11 +5,11 @@ from transformers import pipeline, AutoConfig
|
|
| 5 |
pipe = pipeline('sentiment-analysis')
|
| 6 |
|
| 7 |
# App Title
|
| 8 |
-
st.title("Sentiment
|
| 9 |
-
st.text("Example 1: The fish in the restaurant was not fresh.
|
| 10 |
-
st.text("
|
| 11 |
st.text("You get the idea ...try your own!")
|
| 12 |
-
st.text("To submit your sentiment text use Ctrl + Enter ")
|
| 13 |
|
| 14 |
# Get the model name
|
| 15 |
model_name = pipe.model.name_or_path
|
|
@@ -36,5 +36,4 @@ if text:
|
|
| 36 |
st.info("Sentiment is not positive.")
|
| 37 |
|
| 38 |
|
| 39 |
-
st.text("
|
| 40 |
-
st.text("Please click on the Like button located under the URL ...if you enjoyed my demo app - thank you!")
|
|
|
|
| 5 |
pipe = pipeline('sentiment-analysis')
|
| 6 |
|
| 7 |
# App Title
|
| 8 |
+
st.title("AI in Marketing | AI Driven | Text to Sentiment Analysis | App by Darren Field")
|
| 9 |
+
st.text("Negative Sentiment - Example 1: The fish in the restaurant was not fresh.")
|
| 10 |
+
st.text("Positive Sentiment - Example 2: The fish in the restaurant was fresh.")
|
| 11 |
st.text("You get the idea ...try your own!")
|
| 12 |
+
st.text("To submit your sentiment text use Ctrl + Enter on your keyboard")
|
| 13 |
|
| 14 |
# Get the model name
|
| 15 |
model_name = pipe.model.name_or_path
|
|
|
|
| 36 |
st.info("Sentiment is not positive.")
|
| 37 |
|
| 38 |
|
| 39 |
+
st.text("If you enjoyed using my app, please click on the like button located at the top of page next to SentimentDector ...thank you!")
|
|
|