jaifar530 commited on
Commit
ef4bb93
·
unverified ·
1 Parent(s): a7f22fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -9,6 +9,7 @@ from sklearn.preprocessing import LabelEncoder
9
  import pickle
10
  import numpy as np
11
  from PIL import Image
 
12
 
13
 
14
  # Custom headers for the HTTP request
@@ -98,6 +99,9 @@ for filename, url in file_urls.items():
98
  exit(1)
99
  else:
100
  st.write(f"File {filename} already exists. Skipping download.")
 
 
 
101
 
102
  ############### Load CNN Model ############
103
  # Load the saved model
 
9
  import pickle
10
  import numpy as np
11
  from PIL import Image
12
+ from file_checker import check_and_download_files
13
 
14
 
15
  # Custom headers for the HTTP request
 
99
  exit(1)
100
  else:
101
  st.write(f"File {filename} already exists. Skipping download.")
102
+ ############ download ridge and ExtraTree stuff
103
+
104
+ check_and_download_files
105
 
106
  ############### Load CNN Model ############
107
  # Load the saved model