suryadev1 commited on
Commit
252d825
·
verified ·
1 Parent(s): 8f1a3f5

Update app.py

Browse files

commented the upload files and delte fiels

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -245,14 +245,14 @@ def process_file(model_name,inc_slider,progress=Progress(track_tqdm=True)):
245
  full_path = os.path.join("fileHandler", filename)
246
  # upload_to_dataset(full_path)
247
 
248
- upload_to_dataset(full_path)
249
  task_type_map = {0: "ER", 1: "ME"}
250
  label_map = {0: "unsuccessful", 1: "successful"}
251
 
252
  # -------------------------------
253
  # 1. Where tlb == plb
254
  # -------------------------------
255
- delete_files()
256
  for label in [0, 1]:
257
  # All strategies
258
  matching_indices = [i for i in range(len(tlb)) if tlb[i] == plb[i] == label]
 
245
  full_path = os.path.join("fileHandler", filename)
246
  # upload_to_dataset(full_path)
247
 
248
+ # upload_to_dataset(full_path)
249
  task_type_map = {0: "ER", 1: "ME"}
250
  label_map = {0: "unsuccessful", 1: "successful"}
251
 
252
  # -------------------------------
253
  # 1. Where tlb == plb
254
  # -------------------------------
255
+ # delete_files()
256
  for label in [0, 1]:
257
  # All strategies
258
  matching_indices = [i for i in range(len(tlb)) if tlb[i] == plb[i] == label]