CCockrum commited on
Commit
b898bbb
·
verified ·
1 Parent(s): a582bb4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -213,7 +213,7 @@ if fetch_data:
213
  incomplete_with_desc = incomplete_records[incomplete_records['description'].notnull()]
214
  reference_df = metadata_df[metadata_df['subject'].notnull() & metadata_df['description'].notnull()]
215
  tfidf = TfidfVectorizer(stop_words='english')
216
- suggestions = []
217
  for idx, row in incomplete_with_desc.iterrows():
218
  if pd.isna(row['subject']) and pd.notna(row['description']):
219
  desc_vec = tfidf.transform([str(row['description'])])
 
213
  incomplete_with_desc = incomplete_records[incomplete_records['description'].notnull()]
214
  reference_df = metadata_df[metadata_df['subject'].notnull() & metadata_df['description'].notnull()]
215
  tfidf = TfidfVectorizer(stop_words='english')
216
+ suggestions = []
217
  for idx, row in incomplete_with_desc.iterrows():
218
  if pd.isna(row['subject']) and pd.notna(row['description']):
219
  desc_vec = tfidf.transform([str(row['description'])])