3morrrrr commited on
Commit
25c6fdf
·
verified ·
1 Parent(s): 79491a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -11,6 +11,11 @@ ZIP_FILE = "processed_files.zip"
11
  os.makedirs(UPLOAD_FOLDER, exist_ok=True)
12
  os.makedirs(PROCESSED_FOLDER, exist_ok=True)
13
 
 
 
 
 
 
14
  USERNAME = "admin"
15
  PASSWORD = "password123"
16
 
@@ -192,3 +197,4 @@ if __name__ == "__main__":
192
 
193
 
194
 
 
 
11
  os.makedirs(UPLOAD_FOLDER, exist_ok=True)
12
  os.makedirs(PROCESSED_FOLDER, exist_ok=True)
13
 
14
+ # Create an empty ZIP file if it doesn't exist
15
+ if not os.path.exists(ZIP_FILE):
16
+ with zipfile.ZipFile(ZIP_FILE, "w") as zipf:
17
+ pass
18
+
19
  USERNAME = "admin"
20
  PASSWORD = "password123"
21
 
 
197
 
198
 
199
 
200
+