ningrumdaud commited on
Commit
c26deb8
1 Parent(s): b8e5788

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -27,12 +27,20 @@ def documentation():
27
  return """
28
  ## Sentiment Analysis Documentation
29
 
 
 
 
 
 
30
  This demo utilizes two different models from the Hugging Face Transformers library:
31
 
32
  - **Model 1**: RoBERTa-large for sentiment analysis fine-tuned for diverse English text sources to enhance generalization across different types of texts (reviews, tweets, etc.).
33
  - **Model 2**: BERTweet for sentiment analysis specifically fine-tuned for English Tweets.
34
 
35
- Choose a model from the dropdown and enter text to see the sentiment prediction.
 
 
 
36
  """
37
 
38
  with gr.Blocks(title="Sentiment Analysis", theme=gr.themes.Soft()) as demo:
 
27
  return """
28
  ## Sentiment Analysis Documentation
29
 
30
+ Welcome to the Sentiment Analysis Demo! This interactive application leverages advanced machine learning models to analyze and predict the sentiment of the text you provide.
31
+
32
+ ### About the Technology
33
+ Sentiment analysis is a branch of artificial intelligence that involves the computational identification and categorization of sentiment expressed in written language. The underlying models are trained on large datasets with various annotations to learn how to predict sentiment accurately.
34
+
35
  This demo utilizes two different models from the Hugging Face Transformers library:
36
 
37
  - **Model 1**: RoBERTa-large for sentiment analysis fine-tuned for diverse English text sources to enhance generalization across different types of texts (reviews, tweets, etc.).
38
  - **Model 2**: BERTweet for sentiment analysis specifically fine-tuned for English Tweets.
39
 
40
+ ### Data Privacy
41
+ We value your privacy. All input texts are processed in real-time and are not stored or used for any purpose other than sentiment analysis during your session.
42
+
43
+ Enjoy exploring the nuances of sentiment in text with our cutting-edge AI models! 🙂
44
  """
45
 
46
  with gr.Blocks(title="Sentiment Analysis", theme=gr.themes.Soft()) as demo: