Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,6 +65,7 @@ def create_zip(files,captions,trigger):
|
|
| 65 |
#cute files and "tags:"
|
| 66 |
captions= [cap.split("file:")[0][5:] for cap in captions]
|
| 67 |
temp_dir="/content"
|
|
|
|
| 68 |
# Create a zip file
|
| 69 |
#os.makedirs(temp_dir, exist_ok=True)
|
| 70 |
zip_path = os.path.join(temp_dir, "training_data.zip")
|
|
|
|
| 65 |
#cute files and "tags:"
|
| 66 |
captions= [cap.split("file:")[0][5:] for cap in captions]
|
| 67 |
temp_dir="/content"
|
| 68 |
+
os.makedirs(temp_dir, exist_ok=True)
|
| 69 |
# Create a zip file
|
| 70 |
#os.makedirs(temp_dir, exist_ok=True)
|
| 71 |
zip_path = os.path.join(temp_dir, "training_data.zip")
|