Dazzler007 commited on
Commit
2cea217
·
verified ·
1 Parent(s): 4b8d72a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -5,13 +5,10 @@ from transformers import pipeline, AutoConfig
5
  pipe = pipeline('sentiment-analysis')
6
 
7
  # App Title
8
- st.title("AI in Marketing - Text to Sentiment Analysis | Application | By Darren Field")
9
- #st.text("By Darren Field")
10
  st.text("Example 1: The fish in the restaurant was not fresh.")
11
  st.text("Example 2: The fish in the restaurant was fresh.")
12
- st.text("")
13
- #st.text("Any postitive will receive Ballons! ")
14
- st.text("Use Ctrl + Enter to submit your sentiment text!")
15
 
16
  # Get the model name
17
  model_name = pipe.model.name_or_path
 
5
  pipe = pipeline('sentiment-analysis')
6
 
7
  # App Title
8
+ st.title("AI in Marketing | Text to Sentiment Analysis Application | By Darren Field")
 
9
  st.text("Example 1: The fish in the restaurant was not fresh.")
10
  st.text("Example 2: The fish in the restaurant was fresh.")
11
+ st.text("To submit your sentiment text use Ctrl + Enter ")
 
 
12
 
13
  # Get the model name
14
  model_name = pipe.model.name_or_path