Andrea Maldonado commited on
Commit
80803f1
·
1 Parent(s): 35cb48f

Uses higher logo

Browse files
Files changed (1) hide show
  1. utils/config_fabric.py +5 -4
utils/config_fabric.py CHANGED
@@ -14,7 +14,7 @@ import shutil
14
 
15
  st.set_page_config(layout='wide')
16
  INPUT_XES="output/inputlog_temp.xes"
17
- LOGO_PATH="gedi/utils/logo.png"
18
 
19
  def get_base64_image(image_path):
20
  with open(image_path, "rb") as image_file:
@@ -35,7 +35,7 @@ def play_header():
35
  justify-content: flex-start;
36
  }}
37
  .header-logo img {{
38
- max-width: 120px; /* Adjust the size as needed */
39
  height: auto;
40
  }}
41
  </style>
@@ -168,7 +168,7 @@ def set_generator_experiments(generator_params):
168
  uploaded_file = st.file_uploader("Pick a csv-file containing feature values for features:", type="csv")
169
  if uploaded_file is not None:
170
  df = pd.read_csv(uploaded_file)
171
- sel_features = st.multiselect("Selected features", list(df.columns))
172
  if sel_features:
173
  df = df[sel_features]
174
  return df, sel_features
@@ -208,7 +208,8 @@ def set_generator_experiments(generator_params):
208
  return df.to_dict(orient='records')
209
 
210
  def feature_select():
211
- return st.multiselect("Selected features", list(generator_params['experiment'].keys()))
 
212
 
213
  def handle_manual_option(grid_option):
214
  if grid_option:
 
14
 
15
  st.set_page_config(layout='wide')
16
  INPUT_XES="output/inputlog_temp.xes"
17
+ LOGO_PATH="gedi/utils/logo_higher.png"
18
 
19
  def get_base64_image(image_path):
20
  with open(image_path, "rb") as image_file:
 
35
  justify-content: flex-start;
36
  }}
37
  .header-logo img {{
38
+ max-width: 140px; /* Adjust the size as needed */
39
  height: auto;
40
  }}
41
  </style>
 
168
  uploaded_file = st.file_uploader("Pick a csv-file containing feature values for features:", type="csv")
169
  if uploaded_file is not None:
170
  df = pd.read_csv(uploaded_file)
171
+ sel_features = st.multiselect("Selected features", list(df.columns), list(df.columns)[-1])
172
  if sel_features:
173
  df = df[sel_features]
174
  return df, sel_features
 
208
  return df.to_dict(orient='records')
209
 
210
  def feature_select():
211
+ return st.multiselect("Selected features", list(generator_params['experiment'].keys()),
212
+ list(generator_params['experiment'].keys())[-1])
213
 
214
  def handle_manual_option(grid_option):
215
  if grid_option: