GiantAnalytics commited on
Commit
b38d13a
Β·
verified Β·
1 Parent(s): a5fb864

Updating Info Feature

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -60,17 +60,20 @@ def main():
60
  if input_method == "Company Website":
61
  website_url = st.text_input("πŸ”— Enter Company Website URL")
62
  if st.button("πŸ” Scrape Website"):
 
63
  st.session_state.company_data = scrape_website(website_url)
64
  progress_bar.progress(20)
65
 
66
  elif input_method == "Web Search":
67
  if st.button("πŸ” Search Company Online"):
 
68
  st.session_state.company_data = search_company(company_name)
69
  progress_bar.progress(20)
70
 
71
  elif input_method == "Manual Description":
72
  company_description = st.text_area("πŸ“ Enter Company Description")
73
  if st.button("βœ” Process Description"):
 
74
  st.session_state.company_data = process_company_description(company_description)
75
  progress_bar.progress(20)
76
 
 
60
  if input_method == "Company Website":
61
  website_url = st.text_input("πŸ”— Enter Company Website URL")
62
  if st.button("πŸ” Scrape Website"):
63
+ st.info("We are scraping the website, please wait...")
64
  st.session_state.company_data = scrape_website(website_url)
65
  progress_bar.progress(20)
66
 
67
  elif input_method == "Web Search":
68
  if st.button("πŸ” Search Company Online"):
69
+ st.info("We are searching the company details online, please wait...")
70
  st.session_state.company_data = search_company(company_name)
71
  progress_bar.progress(20)
72
 
73
  elif input_method == "Manual Description":
74
  company_description = st.text_area("πŸ“ Enter Company Description")
75
  if st.button("βœ” Process Description"):
76
+ st.info("We are processing the description, please wait...")
77
  st.session_state.company_data = process_company_description(company_description)
78
  progress_bar.progress(20)
79