Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -101,7 +101,7 @@ def extract_single_zip_file(directory):
|
|
101 |
print("More than one zip file found.")
|
102 |
return
|
103 |
else:
|
104 |
-
zip_file_path = os.path.join(directory,
|
105 |
|
106 |
# Create a temporary directory for the zip file
|
107 |
with tempfile.TemporaryDirectory() as tmpdirname:
|
|
|
101 |
print("More than one zip file found.")
|
102 |
return
|
103 |
else:
|
104 |
+
zip_file_path = os.path.join(directory, zip_files[0])
|
105 |
|
106 |
# Create a temporary directory for the zip file
|
107 |
with tempfile.TemporaryDirectory() as tmpdirname:
|