AdritRao commited on
Commit
3281da3
·
1 Parent(s): e7fa8af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -55,7 +55,10 @@ def execute_command_with_progress(command, description):
55
  if uploaded_zip_file is not None:
56
  try:
57
  # Create a temporary directory to unzip the files
58
-
 
 
 
59
 
60
  with zipfile.ZipFile(uploaded_zip_file, "r") as zip_ref:
61
  zip_ref.extractall(temp_dir)
 
55
  if uploaded_zip_file is not None:
56
  try:
57
  # Create a temporary directory to unzip the files
58
+ temp_dir = "/home/user/app/C2C/temp_dicom_dir"
59
+
60
+ os.makedirs(temp_dir, exist_ok=True)
61
+ full_path = os.path.abspath(temp_dir)
62
 
63
  with zipfile.ZipFile(uploaded_zip_file, "r") as zip_ref:
64
  zip_ref.extractall(temp_dir)