Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 = ["
|
| 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():
|