Spaces:
Running
Running
Update pages/23_NLP_Transformer_Prompt_3.py
Browse files
pages/23_NLP_Transformer_Prompt_3.py
CHANGED
@@ -17,6 +17,9 @@ def analyze_sentiment(text):
|
|
17 |
|
18 |
st.title("Sentiment Analysis with Transformer")
|
19 |
|
|
|
|
|
|
|
20 |
user_input = st.text_area("Enter text for sentiment analysis:", "I love this product!")
|
21 |
|
22 |
if st.button("Analyze Sentiment"):
|
|
|
17 |
|
18 |
st.title("Sentiment Analysis with Transformer")
|
19 |
|
20 |
+
prompt_text = "rt NLP trnsf xmpl w PyTrc Hggng Fc, nd Strml ntrfc fr npts tpts, ncld mtpl grph f ncsry. Cd z t ct pst."
|
21 |
+
st.write(f"**Prompt:** {prompt_text}")
|
22 |
+
|
23 |
user_input = st.text_area("Enter text for sentiment analysis:", "I love this product!")
|
24 |
|
25 |
if st.button("Analyze Sentiment"):
|