Talha112 commited on
Commit
8171228
·
verified ·
1 Parent(s): 8bf4950

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -7,6 +7,7 @@ import matplotlib.pyplot as plt
7
  import base64
8
  import os
9
  from wordcloud import WordCloud
 
10
 
11
  # Function to perform sentiment analysis using Hugging Face model
12
  hf_sentiment_analyzer = pipeline(
@@ -120,7 +121,12 @@ def count_reviews_with_keywords(df,keywords):
120
 
121
  # Streamlit UI
122
  st.set_page_config(page_title="SentimentAnalysis App", page_icon=":smiley:")
123
- st.title("SentimentAnalysis App")
 
 
 
 
 
124
 
125
  # Sidebar
126
  st.sidebar.title("Options")
 
7
  import base64
8
  import os
9
  from wordcloud import WordCloud
10
+ import time
11
 
12
  # Function to perform sentiment analysis using Hugging Face model
13
  hf_sentiment_analyzer = pipeline(
 
121
 
122
  # Streamlit UI
123
  st.set_page_config(page_title="SentimentAnalysis App", page_icon=":smiley:")
124
+ # st.title("SentimentAnalysis App")
125
+ text = "SentimentAnalysis App"
126
+ t = st.empty()
127
+ for i in range(len(text) + 1):
128
+ t.markdown("## %s" % text[0:i])
129
+ time.sleep(0.1)
130
 
131
  # Sidebar
132
  st.sidebar.title("Options")