Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -20,7 +20,8 @@ with zipfile.ZipFile(zip_file_path, 'r') as zip_ref:
|
|
20 |
zip_ref.extractall(extract_to_path)
|
21 |
|
22 |
print("Files extracted successfully!")
|
23 |
-
|
|
|
24 |
|
25 |
app = FastAPI()
|
26 |
|
|
|
20 |
zip_ref.extractall(extract_to_path)
|
21 |
|
22 |
print("Files extracted successfully!")
|
23 |
+
# Delete the ZIP file
|
24 |
+
os.remove(zip_file_path)
|
25 |
|
26 |
app = FastAPI()
|
27 |
|