Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -272,15 +272,6 @@ if st.button('Submit'):
|
|
272 |
# Add prediction to the DataFrame
|
273 |
df['Assgined_Segment'] = predicted_label
|
274 |
|
275 |
-
|
276 |
-
if st.button('Open Empty Tab'):
|
277 |
-
js = """
|
278 |
-
<script type="text/javascript">
|
279 |
-
window.open("", "_blank").focus();
|
280 |
-
</script>
|
281 |
-
"""
|
282 |
-
st.markdown(js, unsafe_allow_html=True)
|
283 |
-
|
284 |
if predicted_label == "Strangers":
|
285 |
# Congratulatory message for survey interview
|
286 |
st.write("Congratulations, you are selected for the survey interview!")
|
|
|
272 |
# Add prediction to the DataFrame
|
273 |
df['Assgined_Segment'] = predicted_label
|
274 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
275 |
if predicted_label == "Strangers":
|
276 |
# Congratulatory message for survey interview
|
277 |
st.write("Congratulations, you are selected for the survey interview!")
|