Dazzler007 commited on
Commit
598b2e2
·
verified ·
1 Parent(s): af6ad99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -6
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 Detector")
9
- st.text("Example 1: The fish in the restaurant was not fresh. | Example 2: The fish in the restaurant was fresh.")
10
- st.text("Example 3: The product's design feels cheap and lacks durability | Example 4: The product's design feels expensive and durable")
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("AI in Marketing | AI Driven | Text to Sentiment Analysis | App by Darren Field")
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!")