Spaces:
Build error
Build error
Ronio Jerico Roque commited on
Commit ·
c75d56b
1
Parent(s): 2a6375a
Update spinner messages to reflect file upload actions across multiple classes
Browse files- classes/Off_Page.py +1 -1
- classes/On_Page.py +1 -1
- classes/On_Page_Crawl.py +1 -1
- classes/Seo.py +1 -1
- classes/Seo_Backlinks.py +1 -1
- classes/Social_Media_FB.py +1 -1
- classes/Social_Media_IG.py +1 -1
- classes/amazon.py +1 -1
- classes/client_summary.py +1 -1
- classes/content.py +1 -1
- classes/ebay.py +1 -1
- classes/lld_pm_ln.py +1 -1
- classes/pull_through_offers.py +1 -1
- classes/sem_ppc.py +1 -1
- classes/website_and_tools.py +1 -1
classes/Off_Page.py
CHANGED
|
@@ -53,7 +53,7 @@ class SeoOffPageAnalyst:
|
|
| 53 |
if (self.uploaded_files or self.website_audience) and session == 'clicked':
|
| 54 |
combined_text = ""
|
| 55 |
website_audience = ""
|
| 56 |
-
with st.spinner('
|
| 57 |
st.write('')
|
| 58 |
try:
|
| 59 |
for file_info in st.session_state['uploaded_files'].values():
|
|
|
|
| 53 |
if (self.uploaded_files or self.website_audience) and session == 'clicked':
|
| 54 |
combined_text = ""
|
| 55 |
website_audience = ""
|
| 56 |
+
with st.spinner('Uploading Off Page...', show_time=True):
|
| 57 |
st.write('')
|
| 58 |
try:
|
| 59 |
for file_info in st.session_state['uploaded_files'].values():
|
classes/On_Page.py
CHANGED
|
@@ -84,7 +84,7 @@ class SeoOn:
|
|
| 84 |
if (self.first_meaningful_paint or self.uploaded_files) and session == 'clicked':
|
| 85 |
first_meaningful_paint = ""
|
| 86 |
crawl_file = ""
|
| 87 |
-
with st.spinner('
|
| 88 |
st.write('')
|
| 89 |
'''
|
| 90 |
try:
|
|
|
|
| 84 |
if (self.first_meaningful_paint or self.uploaded_files) and session == 'clicked':
|
| 85 |
first_meaningful_paint = ""
|
| 86 |
crawl_file = ""
|
| 87 |
+
with st.spinner('Uploading On Page...', show_time=True):
|
| 88 |
st.write('')
|
| 89 |
'''
|
| 90 |
try:
|
classes/On_Page_Crawl.py
CHANGED
|
@@ -78,7 +78,7 @@ class SeoOnCrawl:
|
|
| 78 |
session = st.session_state.analyze
|
| 79 |
if self.uploaded_files and session == 'clicked':
|
| 80 |
combined_text = ""
|
| 81 |
-
with st.spinner('
|
| 82 |
st.write('')
|
| 83 |
try:
|
| 84 |
for file_info in st.session_state['uploaded_files'].values():
|
|
|
|
| 78 |
session = st.session_state.analyze
|
| 79 |
if self.uploaded_files and session == 'clicked':
|
| 80 |
combined_text = ""
|
| 81 |
+
with st.spinner('Uploading Crawl File...', show_time=True):
|
| 82 |
st.write('')
|
| 83 |
try:
|
| 84 |
for file_info in st.session_state['uploaded_files'].values():
|
classes/Seo.py
CHANGED
|
@@ -128,7 +128,7 @@ class Seo:
|
|
| 128 |
traffic_aqcuisition = ""
|
| 129 |
pages_index = ""
|
| 130 |
bounce_rate = ""
|
| 131 |
-
with st.spinner('Seo
|
| 132 |
st.write('')
|
| 133 |
|
| 134 |
# INITIALIZING SESSIONS
|
|
|
|
| 128 |
traffic_aqcuisition = ""
|
| 129 |
pages_index = ""
|
| 130 |
bounce_rate = ""
|
| 131 |
+
with st.spinner('Uploading Seo Files...', show_time=True):
|
| 132 |
st.write('')
|
| 133 |
|
| 134 |
# INITIALIZING SESSIONS
|
classes/Seo_Backlinks.py
CHANGED
|
@@ -214,7 +214,7 @@ class SeoBacklinks:
|
|
| 214 |
hide_button()
|
| 215 |
if self.uploaded_files:
|
| 216 |
combined_text = ""
|
| 217 |
-
with st.spinner('
|
| 218 |
st.write('')
|
| 219 |
'''
|
| 220 |
# INITIALIZING SESSIONS
|
|
|
|
| 214 |
hide_button()
|
| 215 |
if self.uploaded_files:
|
| 216 |
combined_text = ""
|
| 217 |
+
with st.spinner('Uploading Backlinks...', show_time=True):
|
| 218 |
st.write('')
|
| 219 |
'''
|
| 220 |
# INITIALIZING SESSIONS
|
classes/Social_Media_FB.py
CHANGED
|
@@ -147,7 +147,7 @@ class Facebook:
|
|
| 147 |
if ((self.fb_organic_post and self.fb_organic_post.name) or (self.fb_ads_campaign and self.fb_ads_campaign.name) or (self.facebooks) or (self.facebook_rr)) and session == 'clicked':
|
| 148 |
try:
|
| 149 |
combined_text = ""
|
| 150 |
-
with st.spinner('
|
| 151 |
st.write('')
|
| 152 |
# INITIALIZING SESSIONS
|
| 153 |
#combined_text += f"Client Summary: {st.session_state.nature}\n"
|
|
|
|
| 147 |
if ((self.fb_organic_post and self.fb_organic_post.name) or (self.fb_ads_campaign and self.fb_ads_campaign.name) or (self.facebooks) or (self.facebook_rr)) and session == 'clicked':
|
| 148 |
try:
|
| 149 |
combined_text = ""
|
| 150 |
+
with st.spinner('Uploading FB Files...', show_time=True):
|
| 151 |
st.write('')
|
| 152 |
# INITIALIZING SESSIONS
|
| 153 |
#combined_text += f"Client Summary: {st.session_state.nature}\n"
|
classes/Social_Media_IG.py
CHANGED
|
@@ -110,7 +110,7 @@ class Instagram:
|
|
| 110 |
if (self.instagram or self.instagram_er or self.instagram_pf) and session == 'clicked':
|
| 111 |
try:
|
| 112 |
combined_text = ""
|
| 113 |
-
with st.spinner('
|
| 114 |
st.write('')
|
| 115 |
try:
|
| 116 |
combined_text += f"\nInstagram Followers: {self.instagram}"
|
|
|
|
| 110 |
if (self.instagram or self.instagram_er or self.instagram_pf) and session == 'clicked':
|
| 111 |
try:
|
| 112 |
combined_text = ""
|
| 113 |
+
with st.spinner('Uploading IG Files...', show_time=True):
|
| 114 |
st.write('')
|
| 115 |
try:
|
| 116 |
combined_text += f"\nInstagram Followers: {self.instagram}"
|
classes/amazon.py
CHANGED
|
@@ -54,7 +54,7 @@ class Amazon:
|
|
| 54 |
#product_description_amazon = ""
|
| 55 |
amazon_marketplace_questionnaires = ""
|
| 56 |
|
| 57 |
-
with st.spinner('Amazon...', show_time=True):
|
| 58 |
st.write('')
|
| 59 |
# INITIALIZING SESSIONS
|
| 60 |
#combined_text += f"Client Summary: {st.session_state.nature}\n"
|
|
|
|
| 54 |
#product_description_amazon = ""
|
| 55 |
amazon_marketplace_questionnaires = ""
|
| 56 |
|
| 57 |
+
with st.spinner('Uploading Amazon Files...', show_time=True):
|
| 58 |
st.write('')
|
| 59 |
# INITIALIZING SESSIONS
|
| 60 |
#combined_text += f"Client Summary: {st.session_state.nature}\n"
|
classes/client_summary.py
CHANGED
|
@@ -24,7 +24,7 @@ class CientSummary:
|
|
| 24 |
st.session_state['target_market'] = ''
|
| 25 |
|
| 26 |
def process (self):
|
| 27 |
-
with st.spinner('
|
| 28 |
st.write('')
|
| 29 |
client_summary = ""
|
| 30 |
client_name = ""
|
|
|
|
| 24 |
st.session_state['target_market'] = ''
|
| 25 |
|
| 26 |
def process (self):
|
| 27 |
+
with st.spinner('Uploading Client Details...', show_time=True):
|
| 28 |
st.write('')
|
| 29 |
client_summary = ""
|
| 30 |
client_name = ""
|
classes/content.py
CHANGED
|
@@ -35,7 +35,7 @@ class Content:
|
|
| 35 |
session = st.session_state.analyze
|
| 36 |
|
| 37 |
if (self.content_in_the_website or self.content_outside_the_website) and session == 'clicked':
|
| 38 |
-
with st.spinner('
|
| 39 |
st.write('')
|
| 40 |
content_in_the_website = ""
|
| 41 |
content_outside_the_website = ""
|
|
|
|
| 35 |
session = st.session_state.analyze
|
| 36 |
|
| 37 |
if (self.content_in_the_website or self.content_outside_the_website) and session == 'clicked':
|
| 38 |
+
with st.spinner('Uploading Contents...', show_time=True):
|
| 39 |
st.write('')
|
| 40 |
content_in_the_website = ""
|
| 41 |
content_outside_the_website = ""
|
classes/ebay.py
CHANGED
|
@@ -54,7 +54,7 @@ class eBay:
|
|
| 54 |
#product_description_ebay = ""
|
| 55 |
ebay_marketplace_questionnaires = ""
|
| 56 |
|
| 57 |
-
with st.spinner('
|
| 58 |
st.write('')
|
| 59 |
# INITIALIZING SESSIONS
|
| 60 |
#combined_text += f"Client Summary: {st.session_state.nature}\n"
|
|
|
|
| 54 |
#product_description_ebay = ""
|
| 55 |
ebay_marketplace_questionnaires = ""
|
| 56 |
|
| 57 |
+
with st.spinner('Uploading Ebay Files...', show_time=True):
|
| 58 |
st.write('')
|
| 59 |
# INITIALIZING SESSIONS
|
| 60 |
#combined_text += f"Client Summary: {st.session_state.nature}\n"
|
classes/lld_pm_ln.py
CHANGED
|
@@ -34,7 +34,7 @@ class LLD_PM_LN:
|
|
| 34 |
session = st.session_state.analyze
|
| 35 |
if (self.lead_generation_mechanism) and session == 'clicked':
|
| 36 |
lead_generation_mechanism = ""
|
| 37 |
-
with st.spinner('
|
| 38 |
st.write('')
|
| 39 |
|
| 40 |
try:
|
|
|
|
| 34 |
session = st.session_state.analyze
|
| 35 |
if (self.lead_generation_mechanism) and session == 'clicked':
|
| 36 |
lead_generation_mechanism = ""
|
| 37 |
+
with st.spinner('Uploading Lead Generation...', show_time=True):
|
| 38 |
st.write('')
|
| 39 |
|
| 40 |
try:
|
classes/pull_through_offers.py
CHANGED
|
@@ -30,7 +30,7 @@ class PullThroughOffers:
|
|
| 30 |
session = st.session_state.analyze
|
| 31 |
if (self.pull_through_offers) and session == 'clicked':
|
| 32 |
pull_through_offers = ""
|
| 33 |
-
with st.spinner('
|
| 34 |
st.write('')
|
| 35 |
|
| 36 |
try:
|
|
|
|
| 30 |
session = st.session_state.analyze
|
| 31 |
if (self.pull_through_offers) and session == 'clicked':
|
| 32 |
pull_through_offers = ""
|
| 33 |
+
with st.spinner('Uploading Pull Through Offers...', show_time=True):
|
| 34 |
st.write('')
|
| 35 |
|
| 36 |
try:
|
classes/sem_ppc.py
CHANGED
|
@@ -56,7 +56,7 @@ class Sem_PPC:
|
|
| 56 |
mobile_ads = ""
|
| 57 |
video_ads = ""
|
| 58 |
shopping_ads = ""
|
| 59 |
-
with st.spinner('
|
| 60 |
st.write('')
|
| 61 |
# INITIALIZING SESSIONS
|
| 62 |
#combined_text += f"Client Summary: {st.session_state.nature}\n"
|
|
|
|
| 56 |
mobile_ads = ""
|
| 57 |
video_ads = ""
|
| 58 |
shopping_ads = ""
|
| 59 |
+
with st.spinner('Uploading SEM/PPC...', show_time=True):
|
| 60 |
st.write('')
|
| 61 |
# INITIALIZING SESSIONS
|
| 62 |
#combined_text += f"Client Summary: {st.session_state.nature}\n"
|
classes/website_and_tools.py
CHANGED
|
@@ -70,7 +70,7 @@ class WebsiteAndTools:
|
|
| 70 |
client_relations_management_system = ""
|
| 71 |
mobile_loading_speed = ""
|
| 72 |
|
| 73 |
-
with st.spinner('
|
| 74 |
st.write('')
|
| 75 |
'''
|
| 76 |
try:
|
|
|
|
| 70 |
client_relations_management_system = ""
|
| 71 |
mobile_loading_speed = ""
|
| 72 |
|
| 73 |
+
with st.spinner('Uploading Website and Tools...', show_time=True):
|
| 74 |
st.write('')
|
| 75 |
'''
|
| 76 |
try:
|