carrief0908 commited on
Commit
1a474db
Β·
verified Β·
1 Parent(s): 38fbc13

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +43 -43
src/streamlit_app.py CHANGED
@@ -1358,50 +1358,50 @@ elif page == "πŸ“Š Compare Software":
1358
 
1359
  elif page == "πŸ’‘ Strategy Optimizer":
1360
  st.markdown('<h1 class="main-header">πŸ’‘ Strategy Combination Optimizer</h1>', unsafe_allow_html=True)
1361
- st.markdown("### Find the optimal software stack for your organization")
1362
-
1363
- # Input parameters
1364
- st.markdown("#### 🎯 Your Requirements")
1365
- col1, col2, col3 = st.columns(3)
1366
- with col1:
1367
- team_size = st.number_input("Team Size", 1, 1000, 50)
1368
- with col2:
1369
- monthly_budget = st.number_input("Monthly Budget ($)", 100, 100000, 5000)
1370
- with col3:
1371
- optimization_goal = st.selectbox("Optimization Goal", [
1372
- "Minimize Cost",
1373
- "Maximize Features",
1374
- "Best Integration",
1375
- "Balanced Approach"
1376
- ])
1377
-
1378
- required_categories = st.multiselect("Required Software Categories", [
1379
- "Team Communication", "Video Conferencing", "Project Management",
1380
- "Email & Productivity", "CRM", "Cloud Storage", "Developer Tools",
1381
- "Design Tools", "Knowledge Management"
1382
  ])
1383
-
1384
- st.markdown("#### 🧩 Current Software Situation (optional)")
1385
- current_stack = st.text_area(
1386
- "Describe what your organization already uses (e.g., 'We already have 5 Zoom licenses and a free Teams plan').",
1387
- placeholder="e.g., We already have 5 Zoom licenses and use Notion for documentation."
1388
- )
1389
-
1390
- if st.button("πŸš€ Generate Optimization Strategies", type="primary"):
1391
- with st.spinner("AI is optimizing your software stack..."):
1392
- prompt = f"""Create 3 optimal software stack strategies based on these requirements:
1393
-
1394
- Requirements:
1395
- - Team Size: {team_size} people
1396
- - Monthly Budget: ${monthly_budget}
1397
- - Optimization Goal: {optimization_goal}
1398
- - Required Categories: {', '.join(required_categories)}
1399
-
1400
- Current Software Stack:
1401
- {current_stack if current_stack.strip() else "No existing software mentioned"}
1402
-
1403
- Available Software:
1404
- {json.dumps(SOFTWARE_DATABASE, indent=2)}
 
 
 
 
 
 
1405
 
1406
  Generate 3 strategies:
1407
 
 
1358
 
1359
  elif page == "πŸ’‘ Strategy Optimizer":
1360
  st.markdown('<h1 class="main-header">πŸ’‘ Strategy Combination Optimizer</h1>', unsafe_allow_html=True)
1361
+ st.markdown("### Find the optimal software stack for your organization")
1362
+
1363
+ # Input parameters
1364
+ st.markdown("#### 🎯 Your Requirements")
1365
+ col1, col2, col3 = st.columns(3)
1366
+ with col1:
1367
+ team_size = st.number_input("Team Size", 1, 1000, 50)
1368
+ with col2:
1369
+ monthly_budget = st.number_input("Monthly Budget ($)", 100, 100000, 5000)
1370
+ with col3:
1371
+ optimization_goal = st.selectbox("Optimization Goal", [
1372
+ "Minimize Cost",
1373
+ "Maximize Features",
1374
+ "Best Integration",
1375
+ "Balanced Approach"
 
 
 
 
 
 
1376
  ])
1377
+
1378
+ required_categories = st.multiselect("Required Software Categories", [
1379
+ "Team Communication", "Video Conferencing", "Project Management",
1380
+ "Email & Productivity", "CRM", "Cloud Storage", "Developer Tools",
1381
+ "Design Tools", "Knowledge Management"
1382
+ ])
1383
+
1384
+ st.markdown("#### 🧩 Current Software Situation (optional)")
1385
+ current_stack = st.text_area(
1386
+ "Describe what your organization already uses (e.g., 'We already have 5 Zoom licenses and a free Teams plan').",
1387
+ placeholder="e.g., We already have 5 Zoom licenses and use Notion for documentation."
1388
+ )
1389
+
1390
+ if st.button("πŸš€ Generate Optimization Strategies", type="primary"):
1391
+ with st.spinner("AI is optimizing your software stack..."):
1392
+ prompt = f"""Create 3 optimal software stack strategies based on these requirements:
1393
+
1394
+ Requirements:
1395
+ - Team Size: {team_size} people
1396
+ - Monthly Budget: ${monthly_budget}
1397
+ - Optimization Goal: {optimization_goal}
1398
+ - Required Categories: {', '.join(required_categories)}
1399
+
1400
+ Current Software Stack:
1401
+ {current_stack if current_stack.strip() else "No existing software mentioned"}
1402
+
1403
+ Available Software:
1404
+ {json.dumps(SOFTWARE_DATABASE, indent=2)}
1405
 
1406
  Generate 3 strategies:
1407