Skip to content

Commit

Permalink
init + fix dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
peterkiss committed May 9, 2024
1 parent d7865ca commit 52eda8e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
plot_simulation2
)
import streamlit as st
from streamlit import caching
#from streamlit import caching

# Set page configuration
st.set_page_config(page_title ="Improve Warehouse Productivity using Order Batching",
Expand Down Expand Up @@ -69,7 +69,7 @@ def load(filename, n):
st.subheader('''
🛠️ HOW MANY ORDER LINES DO YOU WANT TO INCLUDE IN YOUR ANALYSIS?
''')
col1, col2 = st.beta_columns(2)
col1, col2 = st.columns(2)
with col1:
n = st.slider(
'SIMULATION 1 SCOPE (THOUSDAND ORDERS)', 1, 200 , value = 5)
Expand All @@ -80,7 +80,7 @@ def load(filename, n):
# SIMULATION PARAMETERS
st.subheader('''
🛠️ SIMULATE ORDER PICKING BY WAVE OF N ORDERS PER WAVE WITH N IN [N_MIN, N_MAX] ''')
col_11 , col_22 = st.beta_columns(2)
col_11 , col_22 = st.columns(2)
with col_11:
n1 = st.slider(
'SIMULATION 1: N_MIN (ORDERS/WAVE)', 0, 20 , value = 1)
Expand All @@ -104,7 +104,7 @@ def load(filename, n):
st.subheader('''
🛠️ HOW MANY ORDER LINES DO YOU WANT TO INCLUDE IN YOUR ANALYSIS?
''')
col1, col2 = st.beta_columns(2)
col1, col2 = st.columns(2)
with col1:
n_ = st.slider(
'SIMULATION 2 SCOPE (THOUSDAND ORDERS)', 1, 200 , value = 5)
Expand Down
12 changes: 12 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: warehouse_env
channels:
- defaults
- conda-forge
- plotly
dependencies:
- numpy
- pandas
- plotly
- matplotlib
- scipy
- streamlit

0 comments on commit 52eda8e

Please sign in to comment.