saurabh091 commited on
Commit
a0ed748
·
verified ·
1 Parent(s): 428b148

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -7,14 +7,13 @@ import os
7
  import pandas as pd
8
  import shutil
9
 
10
- folder_path = "/Documents/UPLOAD" # Change this to your desired folder name
11
 
12
- # Create the folder if it does not exist
13
  if not os.path.exists(folder_path):
14
  os.makedirs(folder_path)
15
- print(f"Folder '{folder_path}' created successfully.")
16
- else:
17
- print(f"Folder '{folder_path}' already exists.")
18
 
19
  def clr_static():
20
  """
 
7
  import pandas as pd
8
  import shutil
9
 
10
+ folder_path = "/tmp/Upload" # Use /tmp instead of root
11
 
12
+ # Ensure the folder structure exists
13
  if not os.path.exists(folder_path):
14
  os.makedirs(folder_path)
15
+
16
+ print(f"Directory created at {folder_path}")
 
17
 
18
  def clr_static():
19
  """