Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,8 +11,7 @@ import pandas as pd
|
|
11 |
import numpy as np
|
12 |
import catboost
|
13 |
#from streamlit_js_eval import streamlit_js_eval
|
14 |
-
|
15 |
-
st.write(sys.version)
|
16 |
# Create two columns
|
17 |
col1, col2 = st.columns([1, 3]) # Adjust the ratio as needed
|
18 |
|
@@ -274,19 +273,7 @@ if st.button('Submit'):
|
|
274 |
# Add prediction to the DataFrame
|
275 |
df['Assgined_Segment'] = predicted_label
|
276 |
|
277 |
-
|
278 |
-
# Congratulatory message for survey interview
|
279 |
-
st.write("Congratulations, you are selected for the survey interview!")
|
280 |
-
|
281 |
-
# Provide the website link
|
282 |
-
website_link = "https://www.bing.com"
|
283 |
-
|
284 |
-
# Display the link in a bold and attractive format
|
285 |
-
st.markdown(f'<p style="font-size:20px; font-weight:bold;">Please click the link below to proceed with the interview:</p>', unsafe_allow_html=True)
|
286 |
-
st.markdown(f'<a href="{website_link}" target="_blank" style="font-size:20px; font-weight:bold; color:#007bff;">{website_link}</a>', unsafe_allow_html=True)
|
287 |
-
else:
|
288 |
-
# Thank you message for participants not selected
|
289 |
-
st.write("Thank you for your participation.")
|
290 |
|
291 |
|
292 |
|
|
|
11 |
import numpy as np
|
12 |
import catboost
|
13 |
#from streamlit_js_eval import streamlit_js_eval
|
14 |
+
|
|
|
15 |
# Create two columns
|
16 |
col1, col2 = st.columns([1, 3]) # Adjust the ratio as needed
|
17 |
|
|
|
273 |
# Add prediction to the DataFrame
|
274 |
df['Assgined_Segment'] = predicted_label
|
275 |
|
276 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
277 |
|
278 |
|
279 |
|