jaifar530 commited on
Commit
429773e
·
unverified ·
1 Parent(s): b172de1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +38 -38
app.py CHANGED
@@ -101,46 +101,46 @@ for filename, url in file_urls.items():
101
  # st.write(f"File {filename} already exists. Skipping download.")
102
  ############ download ridge and ExtraTree stuff
103
 
104
- file_names = [
105
- "truncated_260_to_284.xlsx_vectorizer.pkl",
106
- "not_trancated_full_paragraph.xlsx_extra_trees_model.pkl",
107
- "not_trancated_full_paragraph.xlsx_ridge_model.pkl",
108
- "not_trancated_full_paragraph.xlsx_vectorizer.pkl",
109
- "truncated_10_to_34.xlsx_extra_trees_model.pkl",
110
- "truncated_10_to_34.xlsx_ridge_model.pkl",
111
- "truncated_10_to_34.xlsx_vectorizer.pkl",
112
- "truncated_35_to_59.xlsx_extra_trees_model.pkl",
113
- "truncated_35_to_59.xlsx_ridge_model.pkl",
114
- "truncated_35_to_59.xlsx_vectorizer.pkl",
115
- "truncated_60_to_84.xlsx_extra_trees_model.pkl",
116
- "truncated_60_to_84.xlsx_ridge_model.pkl",
117
- "truncated_60_to_84.xlsx_vectorizer.pkl",
118
- "truncated_85_to_109.xlsx_extra_trees_model.pkl",
119
- "truncated_85_to_109.xlsx_ridge_model.pkl",
120
- "truncated_85_to_109.xlsx_vectorizer.pkl",
121
- "truncated_110_to_134.xlsx_extra_trees_model.pkl",
122
- "truncated_110_to_134.xlsx_ridge_model.pkl",
123
- "truncated_110_to_134.xlsx_vectorizer.pkl",
124
- "truncated_135_to_159.xlsx_extra_trees_model.pkl",
125
- "truncated_135_to_159.xlsx_ridge_model.pkl",
126
- "truncated_135_to_159.xlsx_vectorizer.pkl",
127
- "truncated_160_to_184.xlsx_extra_trees_model.pkl",
128
- "truncated_160_to_184.xlsx_ridge_model.pkl",
129
- "truncated_160_to_184.xlsx_vectorizer.pkl",
130
- "truncated_185_to_209.xlsx_extra_trees_model.pkl",
131
- "truncated_185_to_209.xlsx_ridge_model.pkl",
132
- "truncated_185_to_209.xlsx_vectorizer.pkl",
133
- "truncated_210_to_234.xlsx_extra_trees_model.pkl",
134
- "truncated_210_to_234.xlsx_ridge_model.pkl",
135
- "truncated_210_to_234.xlsx_vectorizer.pkl",
136
- "truncated_235_to_259.xlsx_extra_trees_model.pkl",
137
- "truncated_235_to_259.xlsx_ridge_model.pkl",
138
- "truncated_235_to_259.xlsx_vectorizer.pkl",
139
- "truncated_260_to_284.xlsx_extra_trees_model.pkl",
140
- "truncated_260_to_284.xlsx_ridge_model.pkl"
141
- ]
142
 
143
  def check_and_download_files():
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
144
  missing_files = []
145
  for file_name in file_names:
146
  if not os.path.exists(file_name):
 
101
  # st.write(f"File {filename} already exists. Skipping download.")
102
  ############ download ridge and ExtraTree stuff
103
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
 
105
  def check_and_download_files():
106
+ file_names = [
107
+ "truncated_260_to_284.xlsx_vectorizer.pkl",
108
+ "not_trancated_full_paragraph.xlsx_extra_trees_model.pkl",
109
+ "not_trancated_full_paragraph.xlsx_ridge_model.pkl",
110
+ "not_trancated_full_paragraph.xlsx_vectorizer.pkl",
111
+ "truncated_10_to_34.xlsx_extra_trees_model.pkl",
112
+ "truncated_10_to_34.xlsx_ridge_model.pkl",
113
+ "truncated_10_to_34.xlsx_vectorizer.pkl",
114
+ "truncated_35_to_59.xlsx_extra_trees_model.pkl",
115
+ "truncated_35_to_59.xlsx_ridge_model.pkl",
116
+ "truncated_35_to_59.xlsx_vectorizer.pkl",
117
+ "truncated_60_to_84.xlsx_extra_trees_model.pkl",
118
+ "truncated_60_to_84.xlsx_ridge_model.pkl",
119
+ "truncated_60_to_84.xlsx_vectorizer.pkl",
120
+ "truncated_85_to_109.xlsx_extra_trees_model.pkl",
121
+ "truncated_85_to_109.xlsx_ridge_model.pkl",
122
+ "truncated_85_to_109.xlsx_vectorizer.pkl",
123
+ "truncated_110_to_134.xlsx_extra_trees_model.pkl",
124
+ "truncated_110_to_134.xlsx_ridge_model.pkl",
125
+ "truncated_110_to_134.xlsx_vectorizer.pkl",
126
+ "truncated_135_to_159.xlsx_extra_trees_model.pkl",
127
+ "truncated_135_to_159.xlsx_ridge_model.pkl",
128
+ "truncated_135_to_159.xlsx_vectorizer.pkl",
129
+ "truncated_160_to_184.xlsx_extra_trees_model.pkl",
130
+ "truncated_160_to_184.xlsx_ridge_model.pkl",
131
+ "truncated_160_to_184.xlsx_vectorizer.pkl",
132
+ "truncated_185_to_209.xlsx_extra_trees_model.pkl",
133
+ "truncated_185_to_209.xlsx_ridge_model.pkl",
134
+ "truncated_185_to_209.xlsx_vectorizer.pkl",
135
+ "truncated_210_to_234.xlsx_extra_trees_model.pkl",
136
+ "truncated_210_to_234.xlsx_ridge_model.pkl",
137
+ "truncated_210_to_234.xlsx_vectorizer.pkl",
138
+ "truncated_235_to_259.xlsx_extra_trees_model.pkl",
139
+ "truncated_235_to_259.xlsx_ridge_model.pkl",
140
+ "truncated_235_to_259.xlsx_vectorizer.pkl",
141
+ "truncated_260_to_284.xlsx_extra_trees_model.pkl",
142
+ "truncated_260_to_284.xlsx_ridge_model.pkl"
143
+ ]
144
  missing_files = []
145
  for file_name in file_names:
146
  if not os.path.exists(file_name):