Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ def downloadKerasModel():
|
|
| 50 |
|
| 51 |
# Function to build folder hierarchy up to the 6th level (excluding files and hidden folders)
|
| 52 |
# @st.cache_data
|
| 53 |
-
def generate_folder_hierarchy(root_folder, max_depth=
|
| 54 |
folder_dict = {}
|
| 55 |
|
| 56 |
# Traverse through the directory tree
|
|
@@ -125,7 +125,7 @@ sampleSize = st.sidebar.selectbox("Select Sample Size", list(folder_hierarchy[re
|
|
| 125 |
batchSize = st.sidebar.selectbox("Select Batch Size", list(folder_hierarchy[repo][initialisation][sampleSize].keys()))
|
| 126 |
epochs = st.sidebar.selectbox("Select Epochs Count", list(folder_hierarchy[repo][initialisation][sampleSize][batchSize].keys()))
|
| 127 |
functions = st.sidebar.selectbox("Select Function", list(folder_hierarchy[repo][initialisation][sampleSize][batchSize][epochs].keys()))
|
| 128 |
-
neurons = st.sidebar.selectbox("Select Neurons Count", list(folder_hierarchy[repo][initialisation][sampleSize][batchSize][epochs].keys()))
|
| 129 |
|
| 130 |
# Display the selected values
|
| 131 |
st.write(f"You selected: {repo} : {initialisation} : {sampleSize} : {batchSize} : {epochs} : {functions} : {neurons}")
|
|
|
|
| 50 |
|
| 51 |
# Function to build folder hierarchy up to the 6th level (excluding files and hidden folders)
|
| 52 |
# @st.cache_data
|
| 53 |
+
def generate_folder_hierarchy(root_folder, max_depth=7):
|
| 54 |
folder_dict = {}
|
| 55 |
|
| 56 |
# Traverse through the directory tree
|
|
|
|
| 125 |
batchSize = st.sidebar.selectbox("Select Batch Size", list(folder_hierarchy[repo][initialisation][sampleSize].keys()))
|
| 126 |
epochs = st.sidebar.selectbox("Select Epochs Count", list(folder_hierarchy[repo][initialisation][sampleSize][batchSize].keys()))
|
| 127 |
functions = st.sidebar.selectbox("Select Function", list(folder_hierarchy[repo][initialisation][sampleSize][batchSize][epochs].keys()))
|
| 128 |
+
neurons = st.sidebar.selectbox("Select Neurons Count", list(folder_hierarchy[repo][initialisation][sampleSize][batchSize][epochs][functions].keys()))
|
| 129 |
|
| 130 |
# Display the selected values
|
| 131 |
st.write(f"You selected: {repo} : {initialisation} : {sampleSize} : {batchSize} : {epochs} : {functions} : {neurons}")
|