Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -273,7 +273,13 @@ if st.button('Submit'):
|
|
273 |
df['Assgined_Segment'] = predicted_label
|
274 |
|
275 |
|
276 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
277 |
|
278 |
if predicted_label == "Strangers":
|
279 |
# Congratulatory message for survey interview
|
|
|
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
|