harishsohani commited on
Commit
94cdaa2
·
verified ·
1 Parent(s): 43f2c15

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +4 -9
app.py CHANGED
@@ -21,13 +21,6 @@ st.set_page_config(
21
  page_title="Tourism Prediction App",
22
  layout="wide"
23
  )
24
- # Streamlit UI for Machine Failure Prediction
25
- #st.title("Tourism App - Input form for Predection")
26
- st.write("""
27
- This application predicts the likelihood of whether a customer would take the product based on following set of parameters.
28
- Please provide the following details.
29
- """)
30
-
31
 
32
 
33
  # ---------------------------------------------------------
@@ -145,7 +138,8 @@ Passport = 1 if Passport_display == "Yes" else 0
145
  # ---------------------------------------------------------
146
  # TRAVEL INFORMATION
147
  # ---------------------------------------------------------
148
- with st.expander("✈️ 2. Travel Information", expanded=False):
 
149
 
150
  col1, col2, col3, col4, col5 = st.columns(5)
151
 
@@ -165,7 +159,8 @@ with st.expander("✈️ 2. Travel Information", expanded=False):
165
  # ---------------------------------------------------------
166
  # INTERACTION INFORMATION
167
  # ---------------------------------------------------------
168
- with st.expander("🗣️ 3. Interaction Details", expanded=False):
 
169
 
170
  col1, col2, col3, col4, col5 = st.columns(5)
171
 
 
21
  page_title="Tourism Prediction App",
22
  layout="wide"
23
  )
 
 
 
 
 
 
 
24
 
25
 
26
  # ---------------------------------------------------------
 
138
  # ---------------------------------------------------------
139
  # TRAVEL INFORMATION
140
  # ---------------------------------------------------------
141
+ # Keep section expanded by default - so it is visible when we open
142
+ with st.expander("✈️ 2. Travel Information", expanded=True):
143
 
144
  col1, col2, col3, col4, col5 = st.columns(5)
145
 
 
159
  # ---------------------------------------------------------
160
  # INTERACTION INFORMATION
161
  # ---------------------------------------------------------
162
+ # Keep section expanded by default - so it is visible when we open
163
+ with st.expander("🗣️ 3. Interaction Details", expanded=True):
164
 
165
  col1, col2, col3, col4, col5 = st.columns(5)
166