harishsohani commited on
Commit
2061f2c
·
verified ·
1 Parent(s): 07fcd30

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +11 -7
app.py CHANGED
@@ -37,7 +37,7 @@ st.markdown("""
37
  <style>
38
  /* Reduce page padding */
39
  .block-container {
40
- padding-top: 1rem;
41
  padding-bottom: 1rem;
42
  padding-left: 2rem;
43
  padding-right: 2rem;
@@ -116,7 +116,7 @@ PitchSatisfactionScore_vals = [1, 2, 3, 4, 5]
116
  # ---------------------------------------------------------
117
  with st.expander("👤 1. Personal and Professional Information", expanded=True):
118
 
119
- col1, col2, col3, col4 = st.columns(4)
120
 
121
  with col1:
122
  Age = st.number_input("Age", 18, 120, 30)
@@ -125,7 +125,7 @@ with st.expander("👤 1. Personal and Professional Information", expanded=True)
125
  with col2:
126
  MaritalStatus = st.selectbox("Marital Status", MaritalStatus_vals)
127
  CityTier_label = st.selectbox("City Tier", CityType)
128
-
129
  with col3:
130
  OwnCar_display = st.radio("Own Car?", ["Yes", "No"])
131
  Passport_display = st.radio("Has Passport?", ["Yes", "No"])
@@ -133,6 +133,8 @@ with st.expander("👤 1. Personal and Professional Information", expanded=True)
133
  with col4:
134
  Occupation = st.selectbox("Occupation", Occupation_vals)
135
  Designation = st.selectbox("Designation", Designation_vals)
 
 
136
  MonthlyIncome = st.number_input("Monthly Income (₹)", 0, 500000, 100000)
137
 
138
  CityTier = {"Tier 1": 1, "Tier 2": 2, "Tier 3": 3}[CityTier_label]
@@ -165,19 +167,21 @@ with st.expander("✈️ 2. Travel Information", expanded=False):
165
  # ---------------------------------------------------------
166
  with st.expander("🗣️ 3. Interaction Details", expanded=False):
167
 
168
- col1, col2, col3, col4 = st.columns(4)
169
 
170
  with col1:
171
  TypeofContact = st.selectbox("Type of Contact", TypeofContact_vals)
172
- ProductPitched = st.selectbox("Product Pitched", ProductPitched_vals)
173
 
174
  with col2:
175
- DurationOfPitch = st.number_input("Pitch Duration (minutes)", 0, 200, 10)
176
 
177
  with col3:
178
- NumberOfFollowups = st.number_input("Number of Follow-ups", 0, 50, 1)
179
 
180
  with col4:
 
 
 
181
  PitchSatisfactionScore = st.selectbox("Pitch Satisfaction Score", [1, 2, 3, 4, 5])
182
 
183
 
 
37
  <style>
38
  /* Reduce page padding */
39
  .block-container {
40
+ padding-top: 0.25rem; /* smaller padding on top */
41
  padding-bottom: 1rem;
42
  padding-left: 2rem;
43
  padding-right: 2rem;
 
116
  # ---------------------------------------------------------
117
  with st.expander("👤 1. Personal and Professional Information", expanded=True):
118
 
119
+ col1, col2, col3, col4, col5 = st.columns(5)
120
 
121
  with col1:
122
  Age = st.number_input("Age", 18, 120, 30)
 
125
  with col2:
126
  MaritalStatus = st.selectbox("Marital Status", MaritalStatus_vals)
127
  CityTier_label = st.selectbox("City Tier", CityType)
128
+
129
  with col3:
130
  OwnCar_display = st.radio("Own Car?", ["Yes", "No"])
131
  Passport_display = st.radio("Has Passport?", ["Yes", "No"])
 
133
  with col4:
134
  Occupation = st.selectbox("Occupation", Occupation_vals)
135
  Designation = st.selectbox("Designation", Designation_vals)
136
+
137
+ with col5:
138
  MonthlyIncome = st.number_input("Monthly Income (₹)", 0, 500000, 100000)
139
 
140
  CityTier = {"Tier 1": 1, "Tier 2": 2, "Tier 3": 3}[CityTier_label]
 
167
  # ---------------------------------------------------------
168
  with st.expander("🗣️ 3. Interaction Details", expanded=False):
169
 
170
+ col1, col2, col3, col4, col5 = st.columns(5)
171
 
172
  with col1:
173
  TypeofContact = st.selectbox("Type of Contact", TypeofContact_vals)
 
174
 
175
  with col2:
176
+ ProductPitched = st.selectbox("Product Pitched", ProductPitched_vals)
177
 
178
  with col3:
179
+ DurationOfPitch = st.number_input("Pitch Duration (minutes)", 0, 200, 10)
180
 
181
  with col4:
182
+ NumberOfFollowups = st.number_input("Number of Follow-ups", 0, 50, 1)
183
+
184
+ with col5:
185
  PitchSatisfactionScore = st.selectbox("Pitch Satisfaction Score", [1, 2, 3, 4, 5])
186
 
187