JarvisLabs commited on
Commit
74ef4ef
·
verified ·
1 Parent(s): f2e5c5b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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")