Spaces:
Sleeping
Sleeping
print extract
Browse files
app.py
CHANGED
|
@@ -221,7 +221,8 @@ def update_leaderboard(username, zip_file):
|
|
| 221 |
zip_ref.extractall(extract_path)
|
| 222 |
except zipfile.BadZipFile:
|
| 223 |
return "Invalid ZIP file."
|
| 224 |
-
|
|
|
|
| 225 |
req_file = os.path.join(extract_path, "user_reqs.txt")
|
| 226 |
install_requirements(req_file)
|
| 227 |
|
|
|
|
| 221 |
zip_ref.extractall(extract_path)
|
| 222 |
except zipfile.BadZipFile:
|
| 223 |
return "Invalid ZIP file."
|
| 224 |
+
extracted_files = os.listdir(extract_path)
|
| 225 |
+
print("EXTRACTED FILES:", extracted_files)
|
| 226 |
req_file = os.path.join(extract_path, "user_reqs.txt")
|
| 227 |
install_requirements(req_file)
|
| 228 |
|