Ronio Jerico Roque commited on
Commit
185161c
·
1 Parent(s): c75d56b

Update spinner messages to indicate file upload actions in Linkedin, Tiktok, Twitter, and Youtube classes

Browse files
classes/Linkedin.py CHANGED
@@ -138,7 +138,7 @@ class Linkedin:
138
  if (self.linkedin_f or (self.linkedin_metrics and self.linkedin_metrics.name) or (self.linkedin_post and self.linkedin_post.name)) and session == "clicked":
139
  try:
140
  combined_text = ""
141
- with st.spinner('Linkedin...', show_time=True):
142
  st.write('')
143
  # INITIALIZING SESSIONS
144
  #combined_text += f"Client Summary: {st.session_state.nature}\n"
 
138
  if (self.linkedin_f or (self.linkedin_metrics and self.linkedin_metrics.name) or (self.linkedin_post and self.linkedin_post.name)) and session == "clicked":
139
  try:
140
  combined_text = ""
141
+ with st.spinner('Uploading Linkedin Files...', show_time=True):
142
  st.write('')
143
  # INITIALIZING SESSIONS
144
  #combined_text += f"Client Summary: {st.session_state.nature}\n"
classes/Tiktok.py CHANGED
@@ -109,7 +109,7 @@ class Tiktok:
109
  if (self.tiktok_f or self.tiktok_er or self.tiktok_pf) and session == 'clicked':
110
  try:
111
  combined_text = ""
112
- with st.spinner('Tiktok...', show_time=True):
113
  st.write('')
114
  # INITIALIZING SESSIONS
115
  #combined_text += f"Client Summary: {st.session_state.nature}\n"
 
109
  if (self.tiktok_f or self.tiktok_er or self.tiktok_pf) and session == 'clicked':
110
  try:
111
  combined_text = ""
112
+ with st.spinner('Uploading Tiktok Files...', show_time=True):
113
  st.write('')
114
  # INITIALIZING SESSIONS
115
  #combined_text += f"Client Summary: {st.session_state.nature}\n"
classes/Twitter.py CHANGED
@@ -121,7 +121,7 @@ class Twitter:
121
  if (self.twitter or self.twitter_er or self.twitter_pf) and session == 'clicked':
122
  try:
123
  combined_text = ""
124
- with st.spinner('Twitter...', show_time=True):
125
  st.write('')
126
  # INITIALIZING SESSIONS
127
  combined_text += f"Client Summary: {st.session_state.nature}\n"
 
121
  if (self.twitter or self.twitter_er or self.twitter_pf) and session == 'clicked':
122
  try:
123
  combined_text = ""
124
+ with st.spinner('Uploading Twitter Files...', show_time=True):
125
  st.write('')
126
  # INITIALIZING SESSIONS
127
  combined_text += f"Client Summary: {st.session_state.nature}\n"
classes/Youtube.py CHANGED
@@ -109,7 +109,7 @@ class YouTube:
109
  if ((self.youtube or self.youtube_er or self.youtube_pf) and session) == 'clicked':
110
  try:
111
  combined_text = ""
112
- with st.spinner('Youtube...', show_time=True):
113
  st.write('')
114
  # INITIALIZING SESSIONS
115
  #combined_text += f"Client Summary: {st.session_state.nature}\n"
 
109
  if ((self.youtube or self.youtube_er or self.youtube_pf) and session) == 'clicked':
110
  try:
111
  combined_text = ""
112
+ with st.spinner('Uploading YT Files...', show_time=True):
113
  st.write('')
114
  # INITIALIZING SESSIONS
115
  #combined_text += f"Client Summary: {st.session_state.nature}\n"