Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -139,6 +139,9 @@ def process_directory(directory):
|
|
139 |
print("tmpdirname: " , tmpdirname)
|
140 |
unzipped_root = os.listdir(tmpdirname)
|
141 |
print("unzipped_root ", unzipped_root)
|
|
|
|
|
|
|
142 |
|
143 |
# with tempfile.TemporaryDirectory() as tmpdirname:
|
144 |
# Unzip the file into the temporary directory
|
|
|
139 |
print("tmpdirname: " , tmpdirname)
|
140 |
unzipped_root = os.listdir(tmpdirname)
|
141 |
print("unzipped_root ", unzipped_root)
|
142 |
+
|
143 |
+
tmpsubdirpath= os.path.join(tmpdirname, unzipped_root[0])
|
144 |
+
print("tempsubdirpath: ", 11111")
|
145 |
|
146 |
# with tempfile.TemporaryDirectory() as tmpdirname:
|
147 |
# Unzip the file into the temporary directory
|