miojizzy commited on
Commit
269a7d4
·
1 Parent(s): b42cdae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def make_dataset(vc, df, input_w1, input_w2, input_h1, input_h2):
38
  path = os.path.dirname(__file__)+"/"+str(uuid.uuid1())
39
  os.mkdir(path)
40
  os.mkdir(path+"/train")
41
- headers = ["image_name", "label"]
42
  label_df = pd.DataFrame(columns=headers)
43
  with ZipFile(path+"/train.zip", "w") as zf:
44
  for line in df.itertuples():
 
38
  path = os.path.dirname(__file__)+"/"+str(uuid.uuid1())
39
  os.mkdir(path)
40
  os.mkdir(path+"/train")
41
+ headers = ["name", "label"]
42
  label_df = pd.DataFrame(columns=headers)
43
  with ZipFile(path+"/train.zip", "w") as zf:
44
  for line in df.itertuples():