dperales commited on
Commit
2c1612c
·
1 Parent(s): 9c773d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -47,9 +47,6 @@ if page == "Clustering Analysis":
47
  # import ClusteringExperiment
48
  from pycaret.clustering import ClusteringExperiment
49
 
50
- # Upload the CSV file
51
- uploaded_file = st.file_uploader("Choose a CSV file", type="csv")
52
-
53
  # Display the list of CSV files
54
  directory = "./"
55
  all_files = os.listdir(directory)
@@ -58,6 +55,9 @@ if page == "Clustering Analysis":
58
  st.write("CSV files in the directory:")
59
  for file in csv_files:
60
  st.write(file)
 
 
 
61
 
62
  # Define the unsupervised model
63
  clusteringmodel = ['kmeans', 'ap', 'meanshift', 'sc', 'hclust', 'dbscan', 'optics', 'birch']
 
47
  # import ClusteringExperiment
48
  from pycaret.clustering import ClusteringExperiment
49
 
 
 
 
50
  # Display the list of CSV files
51
  directory = "./"
52
  all_files = os.listdir(directory)
 
55
  st.write("CSV files in the directory:")
56
  for file in csv_files:
57
  st.write(file)
58
+
59
+ # Upload the CSV file
60
+ uploaded_file = st.file_uploader("Choose a CSV file", type="csv")
61
 
62
  # Define the unsupervised model
63
  clusteringmodel = ['kmeans', 'ap', 'meanshift', 'sc', 'hclust', 'dbscan', 'optics', 'birch']