Spaces:
Sleeping
Sleeping
Updating Info Feature
Browse files
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 |
|