Jacaranda commited on
Commit
3ae4f0b
1 Parent(s): 7ba763e

Upload 2 files

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. facility_predict.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def predict_batch_from_csv(input_file, output_file):
13
 
14
  # Iterate over rows with tqdm for progress tracking
15
  for _, row in tqdm(batch_data.iterrows(), total=len(batch_data)):
16
- text = row['pnc_fac_name'] # Replace 'facility_name' with the actual column name containing the text data
17
 
18
  if pd.isnull(text):
19
  cleaned_text = ""
 
13
 
14
  # Iterate over rows with tqdm for progress tracking
15
  for _, row in tqdm(batch_data.iterrows(), total=len(batch_data)):
16
+ text = row['facility_name'] # Replace 'facility_name' with the actual column name containing the text data
17
 
18
  if pd.isnull(text):
19
  cleaned_text = ""
facility_predict.py CHANGED
@@ -164,7 +164,7 @@ def predict_batch_from_csv(input_file, output_file):
164
  # Iterate over rows with tqdm for progress tracking
165
  # Iterate over rows with tqdm for progress tracking
166
  for _, row in tqdm(batch_data.iterrows(), total=len(batch_data)):
167
- text = row['pnc_fac_name'] # Replace 'facility_name' with the actual column name containing the text data
168
 
169
  if pd.isnull(text):
170
  cleaned_text = ""
 
164
  # Iterate over rows with tqdm for progress tracking
165
  # Iterate over rows with tqdm for progress tracking
166
  for _, row in tqdm(batch_data.iterrows(), total=len(batch_data)):
167
+ text = row['facility_name'] # Replace 'facility_name' with the actual column name containing the text data
168
 
169
  if pd.isnull(text):
170
  cleaned_text = ""